summaryrefslogtreecommitdiff
path: root/js/App.js
diff options
context:
space:
mode:
authorsupahgreg <supahgreg@users.noreply.github.com>2025-10-14 23:18:13 +0000
committersupahgreg <supahgreg@users.noreply.github.com>2025-10-14 23:18:13 +0000
commit6bd52b28c201c2afb43397c1413000d47563da0b (patch)
tree9a992f39573f34a0901e96e52f53a58446d2f60b /js/App.js
parent6d3619724735cad09bcb24110403d21479d1fd4d (diff)
Remove 'App.findAll()', which was essentially an alias of 'document.querySelectorAll()'.
Diffstat (limited to 'js/App.js')
-rw-r--r--js/App.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/js/App.js b/js/App.js
index b88c08062..05816516e 100644
--- a/js/App.js
+++ b/js/App.js
@@ -146,9 +146,6 @@ const App = {
find: function(query) {
return document.querySelector(query)
},
- findAll: function(query) {
- return document.querySelectorAll(query);
- },
dialogOf: function (elem) {
// elem could be a Dijit widget
@@ -408,7 +405,7 @@ const App = {
dojo.destroy(d.domNode);
});
- App.findAll("#" + root + " *").forEach(function (i) {
+ document.querySelectorAll(`#${root} *`).forEach(function (i) {
i.parentNode ? i.parentNode.removeChild(i) : true;
});
},