Fix edit
* Bump version to 1.5.1
This commit is contained in:
parent
b9d8c89120
commit
73944b22ad
3 changed files with 4 additions and 6 deletions
|
|
@ -24,5 +24,5 @@
|
||||||
"storage",
|
"storage",
|
||||||
"clipboardWrite"
|
"clipboardWrite"
|
||||||
],
|
],
|
||||||
"version": "1.5.0"
|
"version": "1.5.1"
|
||||||
}
|
}
|
||||||
4
popup.js
4
popup.js
|
|
@ -61,9 +61,7 @@ async function init()
|
||||||
stop();
|
stop();
|
||||||
});
|
});
|
||||||
export_elt.addEventListener('click', () => { store.export(); });
|
export_elt.addEventListener('click', () => { store.export(); });
|
||||||
import_elt.addEventListener('click', () => {
|
import_elt.addEventListener('click', () => { browser.tabs.create({ url: "options.html" }); });
|
||||||
browser.tabs.create({ url: "options.html" });
|
|
||||||
});
|
|
||||||
document.querySelector('#notification img').addEventListener(
|
document.querySelector('#notification img').addEventListener(
|
||||||
'click', notification.close_notification.bind(notification));
|
'click', notification.close_notification.bind(notification));
|
||||||
|
|
||||||
|
|
|
||||||
4
store.js
4
store.js
|
|
@ -422,7 +422,7 @@ class Entry
|
||||||
|
|
||||||
refreshTimer(animation_delay)
|
refreshTimer(animation_delay)
|
||||||
{
|
{
|
||||||
this.timer_count = 1- this.timer_count;
|
this.timer_count = 1 - this.timer_count;
|
||||||
this.elements.timer_circle.style.animationDelay = `-${animation_delay}s`;
|
this.elements.timer_circle.style.animationDelay = `-${animation_delay}s`;
|
||||||
this.elements.timer_circle.style.animationName = `timer${this.timer_count}`;
|
this.elements.timer_circle.style.animationName = `timer${this.timer_count}`;
|
||||||
}
|
}
|
||||||
|
|
@ -469,7 +469,7 @@ class Entry
|
||||||
this.refresh(counter);
|
this.refresh(counter);
|
||||||
this.refreshTimer((count_time - counter) * 30);
|
this.refreshTimer((count_time - counter) * 30);
|
||||||
});
|
});
|
||||||
this.save();
|
this.store.save();
|
||||||
this.elements.main.removeChild(secret_container_elt);
|
this.elements.main.removeChild(secret_container_elt);
|
||||||
this.elements.action.removeChild(done_elt);
|
this.elements.action.removeChild(done_elt);
|
||||||
this.elements.action.removeChild(close_elt);
|
this.elements.action.removeChild(close_elt);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue