Make collapse quotes optional for #902

This commit is contained in:
the-djmaze 2023-02-03 14:40:56 +01:00
parent b859cd6aec
commit 426c92fe33
44 changed files with 53 additions and 2 deletions

View file

@ -22,6 +22,7 @@ const
return result;
},
blockquoteSwitcher = () => {
SettingsUserStore.collapseBlockquotes() &&
// tpl.content.querySelectorAll('blockquote').forEach(node => {
[...tpl.content.querySelectorAll('blockquote')].reverse().forEach(node => {
let h = node.clientHeight || getRealHeight(node);