0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-06-24 13:18:39 +00:00

Revert S&E Error with is isGFM function

This commit is contained in:
David Bolack
2026-04-05 09:12:53 -05:00
parent 1f8944ee88
commit 73e32bea79
+2 -2
View File
@@ -189,12 +189,12 @@ const CodeEditor = createReactClass({
// Use for GFM tabs that use common hot-keys // Use for GFM tabs that use common hot-keys
isGFM : function() { isGFM : function() {
if((this.isGFM()) || (this.props.tab === 'brewSnippets')) return true; if((this.props.tab === 'brewText') || (this.props.tab === 'brewSnippets')) return true;
return false; return false;
}, },
isBrewText : function() { isBrewText : function() {
if(this.isGFM()) return true; if(this.props.tab === 'brewText') return true;
return false; return false;
}, },