summaryrefslogtreecommitdiff
path: root/ext/mixed
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mixed')
-rw-r--r--ext/mixed/js/display.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/mixed/js/display.js b/ext/mixed/js/display.js
index 6d992897..df887fb0 100644
--- a/ext/mixed/js/display.js
+++ b/ext/mixed/js/display.js
@@ -279,9 +279,9 @@ class Display {
}
addEventListeners(selector, type, listener, options) {
- this.container.querySelectorAll(selector).forEach((node) => {
+ for (const node of this.container.querySelectorAll(selector)) {
Display.addEventListener(this.eventListeners, node, type, listener, options);
- });
+ }
}
setContent(type, details) {