From bec48e5f39af7cfc40dfbdda1f295a1337334588 Mon Sep 17 00:00:00 2001 From: Patrick Jentsch Date: Mon, 2 Sep 2019 15:24:39 +0200 Subject: [PATCH] Fix method naming and add Animations.js to base template. --- app/static/js/Animations.js | 2 +- app/templates/base.html.j2 | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/static/js/Animations.js b/app/static/js/Animations.js index dcbe3f57..b7b738fd 100644 --- a/app/static/js/Animations.js +++ b/app/static/js/Animations.js @@ -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"); diff --git a/app/templates/base.html.j2 b/app/templates/base.html.j2 index 6391f6c8..3b1849e2 100644 --- a/app/templates/base.html.j2 +++ b/app/templates/base.html.j2 @@ -11,6 +11,7 @@ +