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