2 ms·
Find the row clicked on. Find the indent. For every row that has larger indent (until one with the same indent), set display: none. For this row, mark it col
by pas 11y ago
Find the row clicked on.
Find the indent.
For every row that has larger indent (until one with the same indent), set display: none.
For this row, mark it collapsed (even by putting a div around the current content, un-displaying it and putting a "show thread" button/link there).
So indent is width of the "invisible pixel", easy to query, isn't it?
What am I missing?