summaryrefslogtreecommitdiff
path: root/js/Feeds.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-02-19 06:58:50 +0300
committerAndrew Dolgov <[email protected]>2021-02-19 06:58:50 +0300
commit00310d2d23dd459c17b3f6e86a127de348b330f8 (patch)
treeac51a588829724bc66c982f44eb23e8c6ac7f8ef /js/Feeds.js
parentdcfea9baacc41984f683342e6a3e4949243b7324 (diff)
cleanup some unused code, fix App.byId() invoked by wrong name
Diffstat (limited to 'js/Feeds.js')
-rw-r--r--js/Feeds.js8
1 files changed, 0 insertions, 8 deletions
diff --git a/js/Feeds.js b/js/Feeds.js
index 7f3a80f4e..67c78cbfe 100644
--- a/js/Feeds.js
+++ b/js/Feeds.js
@@ -317,7 +317,6 @@ const Feeds = {
const feed = params.feed;
const is_cat = !!params.is_cat || false;
const offset = params.offset || 0;
- const viewfeed_debug = params.viewfeed_debug;
const append = params.append || false;
const method = params.method;
// this is used to quickly switch between feeds, sets active but xhr is on a timeout
@@ -373,13 +372,6 @@ const Feeds = {
this.setActive(feed, is_cat);
- if (viewfeed_debug) {
- window.open("backend.php?" +
- dojo.objectToQuery(
- Object.assign({csrf_token: App.getInitParam("csrf_token")}, query)
- ));
- }
-
window.clearTimeout(this._viewfeed_wait_timeout);
this._viewfeed_wait_timeout = window.setTimeout(() => {
xhrPost("backend.php", query, (transport) => {