Skip to content

Commit

Permalink
More strict mobile zoom preventing
Browse files Browse the repository at this point in the history
  • Loading branch information
alxrm committed Jun 28, 2018
1 parent 17a6434 commit 2e1458a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion assets/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<title>Slide controller</title>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height, target-densitydpi=device-dpi"/>
<meta name="theme-color" content="#333333">
</head>

Expand Down
2 changes: 1 addition & 1 deletion index_html.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const (
<title>Slide controller</title>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height, target-densitydpi=device-dpi"/>
<meta name="theme-color" content="#333333">
</head>
Expand Down
8 changes: 5 additions & 3 deletions presento.iml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="GO_MODULE" version="4">
<module type="WEB_MODULE" version="4">
<component name="Go" enabled="true" />
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$" />
<orderEntry type="jdk" jdkName="Go 1.8.1" jdkType="Go SDK" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="GOPATH &lt;presento&gt;" level="project" />
&lt;orderEntry type=&quot;library&quot; scope=&quot;PROVIDED&quot; name=&quot;Go SDK&quot; level=&quot;project&quot; /&gt;
</component>
</module>
</module>

0 comments on commit 2e1458a

Please sign in to comment.