mirror of
https://github.com/flynx/pWiki.git
synced 2025-12-17 16:41:39 +00:00
fixed a bug...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
5fe9b176b1
commit
5af034b765
@ -613,7 +613,7 @@ var Outline = {
|
|||||||
// NOTE: clicking outside the element to the right i.e. on :after/:before
|
// NOTE: clicking outside the element to the right i.e. on :after/:before
|
||||||
if(elem.nodeName == 'DIV'
|
if(elem.nodeName == 'DIV'
|
||||||
&& elem.getAttribute('tabindex')
|
&& elem.getAttribute('tabindex')
|
||||||
&& evt.clientX > elem.offsetWidth){
|
&& elem.offsetWidth < evt.offsetX){
|
||||||
that.toggleCollapse(elem) }
|
that.toggleCollapse(elem) }
|
||||||
// todo: toggle checkbox...
|
// todo: toggle checkbox...
|
||||||
if(elem.classList.contains('todo')){
|
if(elem.classList.contains('todo')){
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user