1
0
mirror of https://github.com/stolksdorf/homebrewery.git synced 2025-12-15 14:45:58 +00:00

Disabling zoom check, since it does not play well with many browsers

This commit is contained in:
Scott Tolksdorf
2017-01-21 20:37:37 -05:00
parent 8b148b81b8
commit cc8e874ad1
2 changed files with 2 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
{ {
"name": "homebrewery", "name": "homebrewery",
"description": "Create authentic looking D&D homebrews using only markdown", "description": "Create authentic looking D&D homebrews using only markdown",
"version": "2.7.0", "version": "2.7.1",
"scripts": { "scripts": {
"dev": "node scripts/dev.js", "dev": "node scripts/dev.js",
"quick": "node scripts/quick.js", "quick": "node scripts/quick.js",

View File

@@ -30,6 +30,7 @@ const RenderWarnings = React.createClass({
} }
}, },
zoom : function(){ zoom : function(){
return false;
if(window.devicePixelRatio !== 1){ if(window.devicePixelRatio !== 1){
return <li key='zoom'> return <li key='zoom'>
<em>Your browser is zoomed. </em> <br /> <em>Your browser is zoomed. </em> <br />