summaryrefslogtreecommitdiff
path: root/js/Feeds.js
diff options
context:
space:
mode:
authorsupahgreg <supahgreg@users.noreply.github.com>2025-10-14 23:26:19 +0000
committersupahgreg <supahgreg@users.noreply.github.com>2025-10-14 23:26:46 +0000
commit3ff3c605b4405dcd66c6ae978566664633a2f68e (patch)
tree2db559fdfada881be2bde4b2634d96fe4e57c145 /js/Feeds.js
parentf85559735b794682057e5b8d3854373f4d10dbb9 (diff)
Remove 'App.find()', which was essentially an alias of 'document.querySelector()'.
Diffstat (limited to 'js/Feeds.js')
-rw-r--r--js/Feeds.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/Feeds.js b/js/Feeds.js
index 1328b704a..af7a6cc54 100644
--- a/js/Feeds.js
+++ b/js/Feeds.js
@@ -143,8 +143,8 @@ const Feeds = {
},
onViewModeChanged: function() {
// TODO: is this still needed?
- App.find("body").setAttribute("view-mode",
- dijit.byId("toolbar-main").getValues().view_mode);
+ document.body.setAttribute('view-mode',
+ dijit.byId('toolbar-main').getValues().view_mode);
return Feeds.reloadCurrent('');
},