summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-12-07 21:22:51 +0300
committerAndrew Dolgov <[email protected]>2018-12-07 21:22:51 +0300
commit76885fc5ad74407875a2abca4b1c94377206f850 (patch)
tree6d2419fc2affbf50a167171120f3487679473185 /js
parent8f75b06835aa714e57501efe9d82ec9ffc285a62 (diff)
viewfeed: general code cleanup
Diffstat (limited to 'js')
-rw-r--r--js/Feeds.js2
-rwxr-xr-xjs/Headlines.js1
2 files changed, 1 insertions, 2 deletions
diff --git a/js/Feeds.js b/js/Feeds.js
index a896727a7..52c1476f7 100644
--- a/js/Feeds.js
+++ b/js/Feeds.js
@@ -358,7 +358,7 @@ define(["dojo/_base/declare"], function (declare) {
if (viewfeed_debug) {
window.open("backend.php?" +
dojo.objectToQuery(
- Object.assign({debug: 0, csrf_token: App.getInitParam("csrf_token")}, query)
+ Object.assign({csrf_token: App.getInitParam("csrf_token")}, query)
));
}
diff --git a/js/Headlines.js b/js/Headlines.js
index 85467936c..78c9651cb 100755
--- a/js/Headlines.js
+++ b/js/Headlines.js
@@ -248,7 +248,6 @@ define(["dojo/_base/declare"], function (declare) {
if (hl.published) row_class += " published";
if (hl.unread) row_class += " Unread";
-
if (headlines.vfeed_group_enabled && hl.feed_title && this.vgroup_last_feed != hl.feed_id) {
let vgrhdr = `<div data-feed-id='${hl.feed_id}' class='feed-title'>
<div style='float : right'>${hl.feed_icon}</div>