mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-22 22:37:50 +00:00
Fix check that editor is in Text tab
This commit is contained in:
@@ -355,7 +355,7 @@ const Editor = createClass({
|
||||
},
|
||||
|
||||
sourceJump : function(targetPage=this.props.currentBrewRendererPageNum, smooth=true){
|
||||
if(!this.isText || isJumping)
|
||||
if(!this.isText() || isJumping)
|
||||
return;
|
||||
|
||||
const textSplit = this.props.renderer == 'V3' ? /^\\page$/gm : /\\page/;
|
||||
|
||||
Reference in New Issue
Block a user