summaryrefslogtreecommitdiffstats
path: root/src/js/dom.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/js/dom.js')
-rw-r--r--src/js/dom.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/js/dom.js b/src/js/dom.js
index 3d2f517..5c4d194 100644
--- a/src/js/dom.js
+++ b/src/js/dom.js
@@ -161,9 +161,9 @@ dom.cl = class {
}
}
- static remove(target, name) {
+ static remove(target, ...names) {
for ( const elem of normalizeTarget(target) ) {
- elem.classList.remove(name);
+ elem.classList.remove(...names);
}
}