summaryrefslogtreecommitdiff
path: root/js/Headlines.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-02-19 20:05:56 +0300
committerAndrew Dolgov <[email protected]>2021-02-19 20:05:56 +0300
commitc9ccb0791dfb306c736833193c89abdefc7ccd83 (patch)
tree30f00aa4a32b39bda435547f4dddf3626668ae48 /js/Headlines.js
parentcf249d7e8c55542ca6383b430ec77f07401e96ea (diff)
fix for startup crash because of classes containing spaces
Diffstat (limited to 'js/Headlines.js')
-rwxr-xr-xjs/Headlines.js2
1 files changed, 1 insertions, 1 deletions
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