switchPanelMode: strict-mode fix for article_id

This commit is contained in:
Andrew Dolgov 2018-03-14 19:45:10 +03:00
parent 0a8cdd4b9c
commit 7560e54e39
1 changed files with 1 additions and 1 deletions

View 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');