mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: ensure we still works with cookies off
This commit is contained in:
parent
0c58f08207
commit
569f2815d1
@ -32,6 +32,7 @@ KeyValueStore.prototype = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
remove(key) {
|
remove(key) {
|
||||||
|
if (!safeLocalStorage) { return; }
|
||||||
return safeLocalStorage.removeItem(this.context + key);
|
return safeLocalStorage.removeItem(this.context + key);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user