Fix method naming and add Animations.js to base template.

This commit is contained in:
Patrick Jentsch committed 2019-09-02 15:24:39 +02:00
1 parent ff837aa943
commit bec48e5f39
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -1,5 +1,5 @@
class Animations {
static async pulseHighlight(statusElement, ms) {
static async pulse(statusElement, ms) {
statusElement.classList.add("pulse");
await new Promise(resolve => setTimeout(resolve, ms));
statusElement.classList.remove("pulse");