summaryrefslogtreecommitdiff
path: root/js/codeq/misc.js
diff options
context:
space:
mode:
authorRobert Zorko <robertz@gurucue.com>2015-12-17 14:02:20 +0100
committerRobert Zorko <robertz@gurucue.com>2015-12-17 14:02:20 +0100
commit27d9966693bc88495617ba165f290c7f2e54abd0 (patch)
treec8c7854e8777f149bd6d41c4a42b2060f71e1f64 /js/codeq/misc.js
parenta7fa6cfffebe3026198ad8beb0e06543d3503bb6 (diff)
added 'use strict', coirrected some errors which were revealed by it and fixed the argument of the call of the wait function used in the reset function (core.js)
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