fixed a bug...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2023-10-09 19:08:19 +03:00
parent 5fe9b176b1
commit 5af034b765

View File

@ -613,7 +613,7 @@ var Outline = {
// NOTE: clicking outside the element to the right i.e. on :after/:before
if(elem.nodeName == 'DIV'
&& elem.getAttribute('tabindex')
&& evt.clientX > elem.offsetWidth){
&& elem.offsetWidth < evt.offsetX){
that.toggleCollapse(elem) }
// todo: toggle checkbox...
if(elem.classList.contains('todo')){