Remove redundant isStyle check

This commit is contained in:
G.Ambatte committed 2022-06-05 10:10:59 +12:00
1 parent 6bc5edd33f
commit d04df9aeb0
1 file changed
+1 -1
+1 -1
View File
@@ -212,7 +212,7 @@ const Editor = createClass({
},
sourceJump : function(targetLine=null){
if(this.isText() || (this.isStyle() && targetLine == 0)) {
if(this.isText()) {
if(targetLine == null) {
targetLine = 0;