mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2026-11-09 08:40:07 +00:00
Fix method naming and add Animations.js to base template.
This commit is contained in:
1 parent
ff837aa943
commit
bec48e5f39
2 files changed
+2
-1
No files matched your search
@@ -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");
|
||||
|
||||
Reference in new issue
Block a user