mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-05 23:47:03 +03:00
Fix local storage (Closes #303)
This commit is contained in:
parent
77870442fe
commit
664c1dca80
11 changed files with 147 additions and 103 deletions
|
|
@ -11,8 +11,8 @@
|
|||
{
|
||||
var
|
||||
NextStorageDriver = require('_').find([
|
||||
require('Storage:LocalStorage:Cookie'),
|
||||
require('Storage:LocalStorage:LocalStorage')
|
||||
require('Storage:LocalStorage:LocalStorage'),
|
||||
require('Storage:LocalStorage:Cookie')
|
||||
], function (NextStorageDriver) {
|
||||
return NextStorageDriver && NextStorageDriver.supported();
|
||||
})
|
||||
|
|
@ -26,6 +26,9 @@
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @type {LocalStorageDriver|CookieDriver|null}
|
||||
*/
|
||||
LocalStorage.prototype.oDriver = null;
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue