Fix reset tips in settings
This commit is contained in:
parent
6395cee9fb
commit
8d3ba0fd75
@ -832,9 +832,9 @@ define([
|
|||||||
|
|
||||||
var localStore = window.cryptpadStore;
|
var localStore = window.cryptpadStore;
|
||||||
$button.click(function () {
|
$button.click(function () {
|
||||||
Object.keys(localStore).forEach(function (k) {
|
Object.keys(localStore.store).forEach(function (k) {
|
||||||
if(k.slice(0, 9) === "hide-info") {
|
if(k.slice(0, 9) === "hide-info") {
|
||||||
localStore.put(k, undefined);
|
localStore.put(k, null);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
UI.alert(Messages.settings_resetTipsDone);
|
UI.alert(Messages.settings_resetTipsDone);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user