mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-23 10:07:02 +00:00
Remove redundant isStyle check
This commit is contained in:
1 parent
6bc5edd33f
commit
d04df9aeb0
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user