Set viewport for use on iPhone

This commit is contained in:
Erik Michaels-Ober 2012-01-14 11:59:13 -08:00
parent 725b33f403
commit 09aac40d1c
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@
= javascript_include_tag "http://twitter.github.com/bootstrap/1.4.0/bootstrap-modal.min.js" = javascript_include_tag "http://twitter.github.com/bootstrap/1.4.0/bootstrap-modal.min.js"
= javascript_include_tag "main" = javascript_include_tag "main"
= csrf_meta_tag = csrf_meta_tag
%meta{:name => "viewport", :content => "initial-scale=1.0, user-scalable=no"} %meta{:name => "viewport", :content => "width=800, user-scalable=no"}
%script{:type => "text/javascript"} %script{:type => "text/javascript"}
var _gaq=_gaq||[];_gaq.push(["_setAccount","UA-20825280-2"]),_gaq.push(["_setDomainName",".adoptahydrant.org"]),_gaq.push(["_trackPageview"]),function(){var a=document.createElement("script");a.type="text/javascript",a.async=!0,a.src=("https:"==document.location.protocol?"https://ssl":"http://www")+".google-analytics.com/ga.js";var b=document.getElementsByTagName("script")[0];b.parentNode.insertBefore(a,b)}(); var _gaq=_gaq||[];_gaq.push(["_setAccount","UA-20825280-2"]),_gaq.push(["_setDomainName",".adoptahydrant.org"]),_gaq.push(["_trackPageview"]),function(){var a=document.createElement("script");a.type="text/javascript",a.async=!0,a.src=("https:"==document.location.protocol?"https://ssl":"http://www")+".google-analytics.com/ga.js";var b=document.getElementsByTagName("script")[0];b.parentNode.insertBefore(a,b)}();
%body %body