fix for startup crash because of classes containing spaces

master
Andrew Dolgov 2 years ago
parent cf249d7e8c
commit c9ccb0791d
  1. 2
      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

Loading…
Cancel
Save