Multiple fixes for chrome app
This commit is contained in:
parent
40910c3b34
commit
834c57a51a
12 changed files with 88 additions and 10 deletions
|
|
@ -7,6 +7,7 @@ var isChromeApp = window.chrome && chrome.runtime && chrome.runtime.id;
|
|||
function LocalStorage() {
|
||||
this.type = 'DB';
|
||||
|
||||
|
||||
if (isChromeApp) {
|
||||
localStorage = chrome.storage.local;
|
||||
window.localStorage = chrome.storage.local;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue