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