mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
code optimization for removeItem from appStorage
This commit is contained in:
parent
0b71b0b493
commit
c3c035a7d7
1 changed files with 0 additions and 1 deletions
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…
Add table
Add a link
Reference in a new issue