diff options
| author | Andrew Dolgov <noreply@fakecake.org> | 2021-02-19 20:05:56 +0300 |
|---|---|---|
| committer | Andrew Dolgov <noreply@fakecake.org> | 2021-02-19 20:05:56 +0300 |
| commit | c9ccb0791dfb306c736833193c89abdefc7ccd83 (patch) | |
| tree | 30f00aa4a32b39bda435547f4dddf3626668ae48 /js/Headlines.js | |
| parent | cf249d7e8c55542ca6383b430ec77f07401e96ea (diff) | |
fix for startup crash because of classes containing spaces
Diffstat (limited to 'js/Headlines.js')
| -rwxr-xr-x | js/Headlines.js | 2 |
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 |