From d04df9aeb004735646efc64e9aaacfb42b7cb05f Mon Sep 17 00:00:00 2001 From: "G.Ambatte" Date: Sun, 5 Jun 2022 10:10:59 +1200 Subject: [PATCH] Remove redundant isStyle check --- client/homebrew/editor/editor.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/homebrew/editor/editor.jsx b/client/homebrew/editor/editor.jsx index 6366d0520..fd9f850d3 100644 --- a/client/homebrew/editor/editor.jsx +++ b/client/homebrew/editor/editor.jsx @@ -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;