Use the dot notation

Signed-off-by: Marc Delisle <marc@infomarc.info>
This commit is contained in:
Marc Delisle 2015-04-16 14:20:40 -04:00
parent 1999e93535
commit e579ed1220

View File

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