1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 03:35:55 +00:00

cdmToggleGridSpan: toggle classname instead of a style property

This commit is contained in:
Andrew Dolgov
2021-03-12 14:05:51 +03:00
parent efde6d36c7
commit bc73bf0f67
8 changed files with 27 additions and 6 deletions

View File

@@ -97,11 +97,7 @@ const Article = {
const row = App.byId(`RROW-${id}`);
if (row) {
if (row.style.gridColumn != '1 / -1')
row.style.gridColumn = '1 / -1';
else
row.style.gridColumn = '';
row.toggleClassName('grid-span-row');
this.setActive(id);
this.cdmMoveToId(id);