From c9ccb0791dfb306c736833193c89abdefc7ccd83 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 19 Feb 2021 20:05:56 +0300 Subject: [PATCH] fix for startup crash because of classes containing spaces --- js/Headlines.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/Headlines.js b/js/Headlines.js index c019dcbfc..abb96d4ce 100755 --- a/js/Headlines.js +++ b/js/Headlines.js @@ -372,7 +372,7 @@ const Headlines = { App.byId("main").removeClassName("expanded"); if (App.isCombinedMode()) - App.byId("main").addClassName(App.getInitParam("cdm_expanded") ? " expanded" : " expandable"); + App.byId("main").addClassName(App.getInitParam("cdm_expanded") ? "expanded" : "expandable"); }, renderAgain: function () { // TODO: wrap headline elements into a knockoutjs model to prevent all this stuff