Fixed triple click on firefox

This commit is contained in:
benweet 2018-04-05 19:29:32 +01:00
parent 88294ffa79
commit 760c7e3e0d

View File

@ -166,7 +166,7 @@ function SelectionMgr(editor) {
let previousSibling = node.previousSibling;
while (previousSibling) {
i += 1;
previousSibling = node.previousSibling;
previousSibling = previousSibling.previousSibling;
}
return i;
}