From ad04bbf81dc01236422e0af8a07236ad7921453a Mon Sep 17 00:00:00 2001 From: wn_ Date: Sat, 10 Mar 2018 07:11:33 -0600 Subject: strict js: fix more dialog vars --- js/viewfeed.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/viewfeed.js') diff --git a/js/viewfeed.js b/js/viewfeed.js index 925d71379..a00ac6f66 100755 --- a/js/viewfeed.js +++ b/js/viewfeed.js @@ -1024,7 +1024,7 @@ function editArticleTags(id) { if (dijit.byId("editTagsDlg")) dijit.byId("editTagsDlg").destroyRecursive(); - dialog = new dijit.Dialog({ + var dialog = new dijit.Dialog({ id: "editTagsDlg", title: __("Edit article Tags"), style: "width: 600px", -- cgit v1.2.3 From a30f862de452c05ef2c89361675449e93071b951 Mon Sep 17 00:00:00 2001 From: wn_ Date: Sat, 10 Mar 2018 07:38:23 -0600 Subject: strict js: fix catchupBatchedArticles This addresses the "Unread not removed from row" issue. --- js/viewfeed.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/viewfeed.js') diff --git a/js/viewfeed.js b/js/viewfeed.js index a00ac6f66..0c15a23b9 100755 --- a/js/viewfeed.js +++ b/js/viewfeed.js @@ -1259,7 +1259,7 @@ function catchupBatchedArticles() { _catchup_request_sent = false; - reply = JSON.parse(transport.responseText); + var reply = JSON.parse(transport.responseText); var batch = reply.ids; batch.each(function (id) { -- cgit v1.2.3