mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 10:45:56 +00:00
cdmToggleGridSpan: toggle classname instead of a style property
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user