aboutsummaryrefslogtreecommitdiff
path: root/internal/ui/static/js/dom_helper.js
diff options
context:
space:
mode:
Diffstat (limited to 'internal/ui/static/js/dom_helper.js')
-rw-r--r--internal/ui/static/js/dom_helper.js10
1 files changed, 0 insertions, 10 deletions
diff --git a/internal/ui/static/js/dom_helper.js b/internal/ui/static/js/dom_helper.js
index fffa6965..fe0afcac 100644
--- a/internal/ui/static/js/dom_helper.js
+++ b/internal/ui/static/js/dom_helper.js
@@ -34,16 +34,6 @@ class DomHelper {
return result;
}
- static findParent(element, selector) {
- for (; element && element !== document; element = element.parentNode) {
- if (element.classList.contains(selector)) {
- return element;
- }
- }
-
- return null;
- }
-
static hasPassiveEventListenerOption() {
var passiveSupported = false;