Well that was dumb.
This commit is contained in:
parent
df841c1424
commit
521511cd3a
@ -4547,7 +4547,7 @@
|
|||||||
}
|
}
|
||||||
if (i) {
|
if (i) {
|
||||||
text = text.slice(0, -i);
|
text = text.slice(0, -i);
|
||||||
while (range.endOffset > i) {
|
while (range.endOffset - i < 0) {
|
||||||
i--;
|
i--;
|
||||||
}
|
}
|
||||||
if (i) {
|
if (i) {
|
||||||
|
|||||||
@ -4556,7 +4556,7 @@
|
|||||||
}
|
}
|
||||||
if (i) {
|
if (i) {
|
||||||
text = text.slice(0, -i);
|
text = text.slice(0, -i);
|
||||||
while (range.endOffset > i) {
|
while (range.endOffset - i < 0) {
|
||||||
i--;
|
i--;
|
||||||
}
|
}
|
||||||
if (i) {
|
if (i) {
|
||||||
|
|||||||
@ -124,7 +124,7 @@ Linkify =
|
|||||||
|
|
||||||
if i
|
if i
|
||||||
text = text.slice 0, -i
|
text = text.slice 0, -i
|
||||||
i-- while range.endOffset > i
|
i-- while range.endOffset - i < 0
|
||||||
|
|
||||||
if i
|
if i
|
||||||
range.setEnd range.endContainer, range.endOffset - i
|
range.setEnd range.endContainer, range.endOffset - i
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user