fix for startup crash because of classes containing spaces

This commit is contained in:
Andrew Dolgov 2021-02-19 20:05:56 +03:00
parent cf249d7e8c
commit c9ccb0791d
1 changed files with 1 additions and 1 deletions

View File

@ -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