mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-31 06:32:37 +00:00
Updated vitreum, fixed events in render warnings
This commit is contained in:
@@ -11,10 +11,10 @@ const RenderWarnings = React.createClass({
|
||||
},
|
||||
componentDidMount: function() {
|
||||
this.checkWarnings();
|
||||
window.addEventListner('onresize', this.checkWarnings);
|
||||
window.addEventListener('resize', this.checkWarnings);
|
||||
},
|
||||
componentWillUnmount: function() {
|
||||
window.removeEventListener('onresize', this.checkWarnings);
|
||||
window.removeEventListener('resize', this.checkWarnings);
|
||||
},
|
||||
warnings : {
|
||||
chrome : function(){
|
||||
|
||||
Reference in New Issue
Block a user