Fix reset tips in settings

This commit is contained in:
yflory 2019-05-03 15:18:23 +02:00
parent 6395cee9fb
commit 8d3ba0fd75
1 changed files with 2 additions and 2 deletions

View File

@ -832,9 +832,9 @@ define([
var localStore = window.cryptpadStore;
$button.click(function () {
Object.keys(localStore).forEach(function (k) {
Object.keys(localStore.store).forEach(function (k) {
if(k.slice(0, 9) === "hide-info") {
localStore.put(k, undefined);
localStore.put(k, null);
}
});
UI.alert(Messages.settings_resetTipsDone);