0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 18:32:41 +00:00

Remove redundant isStyle check

This commit is contained in:
G.Ambatte
2022-06-05 10:10:59 +12:00
parent 6bc5edd33f
commit d04df9aeb0

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;