diff --git a/js/functions.js b/js/functions.js index 77bba26d53..602cf218b0 100644 --- a/js/functions.js +++ b/js/functions.js @@ -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'] : '' }, diff --git a/js/navigation.js b/js/navigation.js index f20d591391..4e53fab083 100644 --- a/js/navigation.js +++ b/js/navigation.js @@ -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 : '' },