summaryrefslogtreecommitdiff
path: root/js/Feeds.js
diff options
context:
space:
mode:
authorsupahgreg <supahgreg@users.noreply.github.com>2025-10-14 23:22:00 +0000
committersupahgreg <supahgreg@users.noreply.github.com>2025-10-14 23:23:01 +0000
commitf85559735b794682057e5b8d3854373f4d10dbb9 (patch)
treea4622a6d572deca239cb562f0f2d78ad6e2c1565 /js/Feeds.js
parent6bd52b28c201c2afb43397c1413000d47563da0b (diff)
Remove 'App.byId()', which was essentially an alias of 'document.getElementById()'.
Diffstat (limited to 'js/Feeds.js')
-rw-r--r--js/Feeds.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/js/Feeds.js b/js/Feeds.js
index 69c2cf986..1328b704a 100644
--- a/js/Feeds.js
+++ b/js/Feeds.js
@@ -227,7 +227,7 @@ const Feeds = {
dojo.disconnect(tmph);
});
- App.byId("feeds-holder").appendChild(tree.domNode);
+ document.getElementById("feeds-holder").appendChild(tree.domNode);
const tmph2 = dojo.connect(tree, 'onLoad', function () {
dojo.disconnect(tmph2);
@@ -247,13 +247,13 @@ const Feeds = {
}
},
onHide: function() {
- App.byId("feeds-holder_splitter").hide();
+ document.getElementById("feeds-holder_splitter").hide();
dijit.byId("main").resize();
Headlines.updateCurrentUnread();
},
onShow: function() {
- App.byId("feeds-holder_splitter").show();
+ document.getElementById("feeds-holder_splitter").show();
dijit.byId("main").resize();
Headlines.updateCurrentUnread();
@@ -261,7 +261,7 @@ const Feeds = {
init: function() {
console.log("in feedlist init");
- this._feeds_holder_observer.observe(App.byId("feeds-holder"));
+ this._feeds_holder_observer.observe(document.getElementById("feeds-holder"));
App.setLoadingProgress(50);
@@ -350,7 +350,7 @@ const Feeds = {
this._active_feed_id = id;
this._active_feed_is_cat = is_cat;
- const container = App.byId("headlines-frame");
+ const container = document.getElementById("headlines-frame");
// TODO @deprecated: these two should be removed (replaced with data- attributes below)
container.setAttribute("feed-id", id);