switchPanelMode: strict-mode fix for article_id

master
Andrew Dolgov 7 years ago
parent 0a8cdd4b9c
commit 7560e54e39

@ -1017,7 +1017,7 @@ function handle_rpc_json(transport, scheduled_call) {
function switchPanelMode(wide) { function switchPanelMode(wide) {
if (isCdmMode()) return; if (isCdmMode()) return;
article_id = getActiveArticleId(); var article_id = getActiveArticleId();
if (wide) { if (wide) {
dijit.byId("headlines-wrap-inner").attr("design", 'sidebar'); dijit.byId("headlines-wrap-inner").attr("design", 'sidebar');

Loading…
Cancel
Save