Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxmujay <xmujay@gmail.com>2013-05-05 16:49:15 +0400
committerxmujay <xmujay@gmail.com>2013-05-05 16:49:15 +0400
commit9eb23b5aec575549229ad9901be6f82233e6564c (patch)
treec9f6e1078c4437c92b71e46691da6dbbdf2c3f84 /js/config.js
parent0bbe382e7a3f37704ff7331da34b282a9e2a450f (diff)
fix some JSLint error: using dot notation
Diffstat (limited to 'js/config.js')
-rw-r--r--js/config.js2
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) {