diff options
| author | supahgreg <supahgreg@users.noreply.github.com> | 2025-10-14 23:26:19 +0000 |
|---|---|---|
| committer | supahgreg <supahgreg@users.noreply.github.com> | 2025-10-14 23:26:46 +0000 |
| commit | 3ff3c605b4405dcd66c6ae978566664633a2f68e (patch) | |
| tree | 2db559fdfada881be2bde4b2634d96fe4e57c145 /js/Feeds.js | |
| parent | f85559735b794682057e5b8d3854373f4d10dbb9 (diff) | |
Remove 'App.find()', which was essentially an alias of 'document.querySelector()'.
Diffstat (limited to 'js/Feeds.js')
| -rw-r--r-- | js/Feeds.js | 4 |
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(''); }, |