From: Andrew Dolgov Date: Wed, 14 Mar 2018 16:45:10 +0000 (+0300) Subject: switchPanelMode: strict-mode fix for article_id X-Git-Tag: 18.8~51 X-Git-Url: https://git.wh0rd.org/?p=tt-rss.git;a=commitdiff_plain;h=7560e54e3925831f7a7347e0b53ed695c69ef7aa switchPanelMode: strict-mode fix for article_id --- diff --git a/js/tt-rss.js b/js/tt-rss.js index 42558d4f..c0e5af31 100644 --- a/js/tt-rss.js +++ b/js/tt-rss.js @@ -1017,7 +1017,7 @@ function handle_rpc_json(transport, scheduled_call) { function switchPanelMode(wide) { if (isCdmMode()) return; - article_id = getActiveArticleId(); + var article_id = getActiveArticleId(); if (wide) { dijit.byId("headlines-wrap-inner").attr("design", 'sidebar');