mirror of
https://gitee.com/mafgwo/stackedit
synced 2024-11-16 19:57:40 +08:00
Fixed triple click on firefox
This commit is contained in:
parent
88294ffa79
commit
760c7e3e0d
|
@ -166,7 +166,7 @@ function SelectionMgr(editor) {
|
|||
let previousSibling = node.previousSibling;
|
||||
while (previousSibling) {
|
||||
i += 1;
|
||||
previousSibling = node.previousSibling;
|
||||
previousSibling = previousSibling.previousSibling;
|
||||
}
|
||||
return i;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user