mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-06 20:52:40 +00:00
Editor and renderer redraw when you resize the browser
This commit is contained in:
@@ -52,14 +52,7 @@ var EditPage = React.createClass({
|
||||
},
|
||||
savedBrew : null,
|
||||
|
||||
test : ()=>{
|
||||
|
||||
},
|
||||
|
||||
componentDidMount: function(){
|
||||
|
||||
console.log('getting here');
|
||||
|
||||
this.debounceSave = _.debounce(this.save, SAVE_TIMEOUT);
|
||||
window.onbeforeunload = ()=>{
|
||||
if(this.state.isSaving || this.state.isPending){
|
||||
|
||||
Reference in New Issue
Block a user