mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-24 18:32:41 +00:00
pedantic change
This commit is contained in:
@@ -148,7 +148,7 @@ const EditPage = createClass({
|
||||
},
|
||||
|
||||
trySave : function(){
|
||||
if(!this.state.autoSave){ console.log('Auto-save is now off.'); return };
|
||||
if(!this.state.autoSave){ console.log('Auto-save is off.'); return };
|
||||
if(!this.debounceSave) this.debounceSave = _.debounce(this.save, SAVE_TIMEOUT);
|
||||
if(this.hasChanges()){
|
||||
this.debounceSave();
|
||||
|
||||
Reference in New Issue
Block a user