From 3ff3c605b4405dcd66c6ae978566664633a2f68e Mon Sep 17 00:00:00 2001 From: supahgreg Date: Tue, 14 Oct 2025 23:26:19 +0000 Subject: Remove 'App.find()', which was essentially an alias of 'document.querySelector()'. --- js/PrefHelpers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/PrefHelpers.js') diff --git a/js/PrefHelpers.js b/js/PrefHelpers.js index f931630c8..0d8702bae 100644 --- a/js/PrefHelpers.js +++ b/js/PrefHelpers.js @@ -728,7 +728,7 @@ const Helpers = { dialog.plugins_to_update.push(p.plugin); const update_button = dijit.getEnclosingWidget( - App.find(`*[data-update-btn-for-plugin="${p.plugin}"]`)); + document.querySelector(`*[data-update-btn-for-plugin="${p.plugin}"]`)); if (update_button) update_button.domNode.show(); -- cgit v1.2.3-54-g00ecf