mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-27 08:28:50 +02:00
Merge pull request #669 from Hongarc/fix/storage
fix: keep `localStorage`
This commit is contained in:
commit
21a479578e
2 changed files with 4 additions and 2 deletions
|
@ -35,6 +35,8 @@ if (!util.isBrowser()) {
|
|||
return keys[i] || null;
|
||||
}
|
||||
};
|
||||
} else {
|
||||
var localStorage = window.localStorage;
|
||||
}
|
||||
|
||||
try {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue