]> git.wh0rd.org - tt-rss.git/commitdiff
switchPanelMode: strict-mode fix for article_id
authorAndrew Dolgov <noreply@fakecake.org>
Wed, 14 Mar 2018 16:45:10 +0000 (19:45 +0300)
committerAndrew Dolgov <noreply@fakecake.org>
Wed, 14 Mar 2018 16:45:10 +0000 (19:45 +0300)
js/tt-rss.js

index 42558d4fad411560a6a4f5cf0eadbf7629801f9c..c0e5af31dd74103136ee4df106c304a2990900e1 100644 (file)
@@ -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');