Load list width on load

This commit is contained in:
Justin Chang
2022-11-10 12:50:04 -05:00
parent 50403323d5
commit 07b7941b31

View File

@@ -4433,6 +4433,9 @@
if (conf.lineHeight) if (conf.lineHeight)
setLineHeight(conf.lineHeight); setLineHeight(conf.lineHeight);
if (conf.listWidth)
setListWidth(conf.listWidth);
updateVarsAndLayout(); updateVarsAndLayout();
} }
@@ -4874,7 +4877,6 @@
// //
$('.wrap').on('mousedown', '.board .note .text', function(ev){ $('.wrap').on('mousedown', '.board .note .text', function(ev){
if (ev.which === 1)
NB.noteDrag.prime(this.parentNode, ev); NB.noteDrag.prime(this.parentNode, ev);
}); });