mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 19:08:18 -07:00
code optimization for removeItem from appStorage
This commit is contained in:
parent
0b71b0b493
commit
c3c035a7d7
1
src/bower_components/apiclient/appStorage.js
vendored
1
src/bower_components/apiclient/appStorage.js
vendored
@ -35,7 +35,6 @@ define([], function() {
|
|||||||
localStorage.removeItem(name);
|
localStorage.removeItem(name);
|
||||||
|
|
||||||
if (this.localData) {
|
if (this.localData) {
|
||||||
this.localData[name] = null;
|
|
||||||
delete this.localData[name];
|
delete this.localData[name];
|
||||||
updateCache(this);
|
updateCache(this);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user