* Bump version to 1.5.1
This commit is contained in:
Corentin 2024-05-07 10:30:15 +09:00
commit 73944b22ad
3 changed files with 4 additions and 6 deletions

View file

@ -24,5 +24,5 @@
"storage",
"clipboardWrite"
],
"version": "1.5.0"
"version": "1.5.1"
}

View file

@ -61,9 +61,7 @@ async function init()
stop();
});
export_elt.addEventListener('click', () => { store.export(); });
import_elt.addEventListener('click', () => {
browser.tabs.create({ url: "options.html" });
});
import_elt.addEventListener('click', () => { browser.tabs.create({ url: "options.html" }); });
document.querySelector('#notification img').addEventListener(
'click', notification.close_notification.bind(notification));

View file

@ -422,7 +422,7 @@ class Entry
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.animationName = `timer${this.timer_count}`;
}
@ -469,7 +469,7 @@ class Entry
this.refresh(counter);
this.refreshTimer((count_time - counter) * 30);
});
this.save();
this.store.save();
this.elements.main.removeChild(secret_container_elt);
this.elements.action.removeChild(done_elt);
this.elements.action.removeChild(close_elt);