chnage local storage test to work in FF 16+, fixes #1116
This commit is contained in:
parent
4329bd5408
commit
23833d2a11
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ Ox.localStorage = function(namespace) {
|
|||
var localStorage = window.localStorage || {};
|
||||
// FF 3.6 can't assign to or iterate over localStorage
|
||||
try {
|
||||
window.localStorage = localStorage;
|
||||
Ox.forEach(localStorage, function(value, key) {});
|
||||
} catch (e) {
|
||||
localStorage = {};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue