Fix Codacy warnings
Signed-off-by: Marc Delisle <marc@infomarc.info>
This commit is contained in:
parent
dc5be9aef5
commit
a7fe419328
@ -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']
|
||||
: ''
|
||||
},
|
||||
|
||||
@ -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
|
||||
: ''
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user