Explorar o código

switchPanelMode: strict-mode fix for article_id

Andrew Dolgov %!s(int64=6) %!d(string=hai) anos
pai
achega
7560e54e39
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      js/tt-rss.js

+ 1 - 1
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');