check was wrong
This commit is contained in:
parent
155012a5ff
commit
ac797eefe7
1 changed files with 1 additions and 1 deletions
|
|
@ -178,7 +178,7 @@ var Document = function(text) {
|
|||
|
||||
position = this.$clipPosition(position);
|
||||
|
||||
if (this.getLength() <= 1)
|
||||
if (this.getLength() >= 1)
|
||||
this.$detectNewLine(text);
|
||||
|
||||
var lines = this.$split(text);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue