1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 12:25:56 +00:00

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

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