diff options
author | xmujay <xmujay@gmail.com> | 2013-05-05 16:49:15 +0400 |
---|---|---|
committer | xmujay <xmujay@gmail.com> | 2013-05-05 16:49:15 +0400 |
commit | 9eb23b5aec575549229ad9901be6f82233e6564c (patch) | |
tree | c9f6e1078c4437c92b71e46691da6dbbdf2c3f84 /js/config.js | |
parent | 0bbe382e7a3f37704ff7331da34b282a9e2a450f (diff) |
fix some JSLint error: using dot notation
Diffstat (limited to 'js/config.js')
-rw-r--r-- | js/config.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/config.js b/js/config.js index 83482a0e3f..b7115a6e94 100644 --- a/js/config.js +++ b/js/config.js @@ -670,7 +670,7 @@ AJAX.registerOnload('config.js', function () { // detect localStorage state var ls_supported = window.localStorage || false; - var ls_exists = ls_supported ? (window.localStorage['config'] || false) : false; + var ls_exists = ls_supported ? (window.localStorage.config || false) : false; $('div.localStorage-' + (ls_supported ? 'un' : '') + 'supported').hide(); $('div.localStorage-' + (ls_exists ? 'empty' : 'exists')).hide(); if (ls_exists) { |