From 6bd52b28c201c2afb43397c1413000d47563da0b Mon Sep 17 00:00:00 2001 From: supahgreg Date: Tue, 14 Oct 2025 23:18:13 +0000 Subject: Remove 'App.findAll()', which was essentially an alias of 'document.querySelectorAll()'. --- js/App.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'js/App.js') 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; }); }, -- cgit v1.2.3-54-g00ecf