mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-24 20:42:43 +00:00
change time delay between warnings to 15min
This commit is contained in:
@@ -379,8 +379,8 @@ const EditPage = createClass({
|
||||
},
|
||||
|
||||
setAutosaveWarning : function(){
|
||||
setTimeout(()=>this.setState({ autoSaveWarning: false }), 4000);
|
||||
this.warningTimer = setTimeout(()=>{this.setState({ autoSaveWarning: true });}, 15000);
|
||||
setTimeout(()=>this.setState({ autoSaveWarning: false }), 4000); // 4 seconds to display
|
||||
this.warningTimer = setTimeout(()=>{this.setState({ autoSaveWarning: true });}, 900000); // 15 minutes between warnings
|
||||
this.warningTimer;
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user