summaryrefslogtreecommitdiffstats
path: root/src/js/dom.js
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 05:50:19 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 05:50:19 +0000
commitb6a97bcbb33b667a7ee4acb2eb8e482333e95a1b (patch)
tree89830d7d7c2cd02e552447883d02800d56cdf323 /src/js/dom.js
parentReleasing progress-linux version 1.55.0+dfsg-1~progress7.99u1. (diff)
downloadublock-origin-b6a97bcbb33b667a7ee4acb2eb8e482333e95a1b.tar.xz
ublock-origin-b6a97bcbb33b667a7ee4acb2eb8e482333e95a1b.zip
Merging upstream version 1.57.0+dfsg.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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);
}
}