0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-31 02:12:43 +00:00

RenderWarnings: Remove dead code

This commit is contained in:
Rae Che
2018-05-27 14:03:34 +01:00
committed by Trevor Buckner
parent e86ce5cf06
commit f2f45f3657

View File

@@ -32,15 +32,6 @@ const RenderWarnings = createClass({
</li>;
}
},
zoom : function(){
return false;
if(window.devicePixelRatio !== 1){
return <li key='zoom'>
<em>Your browser is zoomed. </em> <br />
This can cause content to jump columns.
</li>;
}
}
},
checkWarnings : function(){
const hideDismiss = localStorage.getItem(DISMISS_KEY);