diff --git a/noname/library/element/player.js b/noname/library/element/player.js index f47c6dddc..044bc67b3 100644 --- a/noname/library/element/player.js +++ b/noname/library/element/player.js @@ -6227,7 +6227,7 @@ export class Player extends HTMLDivElement { return value; } getStorage(name, defaultValue = []) { - return this.hasStorage(name) ? this.storage[name] : defaultValue; + return this.storage[name] || defaultValue; } hasStorage(name, value) { if (!(name in this.storage)) return false;