summaryrefslogtreecommitdiff
path: root/js/codeq/misc.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/codeq/misc.js')
-rw-r--r--js/codeq/misc.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/codeq/misc.js b/js/codeq/misc.js
index 367e62b..d81094c 100644
--- a/js/codeq/misc.js
+++ b/js/codeq/misc.js
@@ -16,6 +16,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* Detect if we're on a phone, browser and platform type */
(function browserDetection() {
+ "use strict";
var platform = navigator.platform,
userAgent = navigator.userAgent,
runningOnPhone = false, // default value, will be changed if detected otherwise