0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-22 20:29:43 +00:00

Fix check that editor is in Text tab

This commit is contained in:
Trevor Buckner
2024-10-15 08:01:41 -04:00
parent 3bd73417e6
commit 0fd3448826

View File

@@ -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/;