mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2025-06-12 09:00:40 +00:00
Fix method naming and add Animations.js to base template.
This commit is contained in:
@ -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