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:
@@ -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",
|
||||||
|
|||||||
@@ -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 />
|
||||||
|
|||||||
Reference in New Issue
Block a user