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:
@@ -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;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user