mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-12-20 10:11:40 +00:00
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:
parent
16b9ef1bc6
commit
f6790eb500
@ -1991,6 +1991,8 @@ module.ConfigLocalStorage = ImageGridFeatures.Feature({
|
|||||||
'ui',
|
'ui',
|
||||||
],
|
],
|
||||||
|
|
||||||
|
isApplicable: function(){ return localStorage != null },
|
||||||
|
|
||||||
actions: ConfigLocalStorageActions,
|
actions: ConfigLocalStorageActions,
|
||||||
|
|
||||||
handlers: [
|
handlers: [
|
||||||
@ -4678,6 +4680,8 @@ module.URLHistoryLocalStorage = ImageGridFeatures.Feature({
|
|||||||
'url-history',
|
'url-history',
|
||||||
],
|
],
|
||||||
|
|
||||||
|
isApplicable: function(){ return localStorage != null },
|
||||||
|
|
||||||
actions: URLHistoryLocalStorageActions,
|
actions: URLHistoryLocalStorageActions,
|
||||||
|
|
||||||
// NOTE: loading is done by the .url_history prop...
|
// NOTE: loading is done by the .url_history prop...
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user