Well that was dumb.

This commit is contained in:
Zixaphir 2013-08-14 15:43:38 -07:00
parent df841c1424
commit 521511cd3a
3 changed files with 3 additions and 3 deletions

View File

@ -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) {

View File

@ -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) {

View File

@ -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