diff --git a/front/src/js/app.js b/front/src/js/app.js index 6a229fb..4fcfa1a 100644 --- a/front/src/js/app.js +++ b/front/src/js/app.js @@ -19,6 +19,7 @@ var yltApp = angular.module('YellowLabTools', [ ]); yltApp.run(['$rootScope', '$location', function($rootScope, $location) { + $rootScope.isTouchDevice = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(window.navigator.userAgent); $rootScope.loadedRunId = null; // Google Analytics diff --git a/front/src/views/index.html b/front/src/views/index.html index 13b0504..f83be65 100644 --- a/front/src/views/index.html +++ b/front/src/views/index.html @@ -2,7 +2,7 @@
Free and open source!