1
0
mirror of https://tt-rss.org/git/tt-rss.git synced 2024-06-20 11:16:36 +02: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