From 07b7941b31d25c93a4a72e1af17d5369d4c288cb Mon Sep 17 00:00:00 2001 From: Justin Chang Date: Thu, 10 Nov 2022 12:50:04 -0500 Subject: [PATCH] Load list width on load --- nullboard.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/nullboard.html b/nullboard.html index b557044..176039e 100644 --- a/nullboard.html +++ b/nullboard.html @@ -4433,6 +4433,9 @@ if (conf.lineHeight) setLineHeight(conf.lineHeight); + if (conf.listWidth) + setListWidth(conf.listWidth); + updateVarsAndLayout(); } @@ -4874,8 +4877,7 @@ // $('.wrap').on('mousedown', '.board .note .text', function(ev){ - if (ev.which === 1) - NB.noteDrag.prime(this.parentNode, ev); + NB.noteDrag.prime(this.parentNode, ev); }); $('.config').on('mousedown', 'a.load-board', function(ev){