turnes out IE does not give localStorage to file://*, added aplicability testing to support this...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2015-12-13 18:45:00 +03:00
parent 16b9ef1bc6
commit f6790eb500

View File

@ -1991,6 +1991,8 @@ module.ConfigLocalStorage = ImageGridFeatures.Feature({
'ui',
],
isApplicable: function(){ return localStorage != null },
actions: ConfigLocalStorageActions,
handlers: [
@ -4678,6 +4680,8 @@ module.URLHistoryLocalStorage = ImageGridFeatures.Feature({
'url-history',
],
isApplicable: function(){ return localStorage != null },
actions: URLHistoryLocalStorageActions,
// NOTE: loading is done by the .url_history prop...