Fix Codacy warnings

Signed-off-by: Marc Delisle <marc@infomarc.info>
This commit is contained in:
Marc Delisle 2015-03-20 12:38:57 -04:00
parent dc5be9aef5
commit a7fe419328
2 changed files with 2 additions and 2 deletions

View File

@ -3790,7 +3790,7 @@ AJAX.registerOnload('functions.js', function () {
cache: false,
type: 'POST',
data: {
favorite_tables: (isStorageSupported('localStorage') && typeof window.localStorage['favorite_tables'] != 'undefined')
favorite_tables: (isStorageSupported('localStorage') && typeof window.localStorage['favorite_tables'] !== 'undefined')
? window.localStorage['favorite_tables']
: ''
},

View File

@ -487,7 +487,7 @@ $(function () {
cache: false,
type: 'POST',
data: {
favorite_tables: (isStorageSupported('localStorage') && typeof window.localStorage.favorite_tables != 'undefined')
favorite_tables: (isStorageSupported('localStorage') && typeof window.localStorage.favorite_tables !== 'undefined')
? window.localStorage.favorite_tables
: ''
},