Permalink
Browse files

Fix an issue with usage of meta viewport.

  • Loading branch information...
1 parent de64887 commit 15c92c124bdaa7f8d5eef9e895bd70b9bfa88102 @hartman hartman committed Jun 12, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 app/views/layout/application.html.haml
@@ -8,9 +8,9 @@
<meta name="ROBOTS" content="NOINDEX, NOFOLLOW" />
- if request.device.disable_zoom
- <meta name = "viewport" content = "width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
+ <meta name = "viewport" content = "width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
- else
- <meta name = "viewport" content = "width=device-width; initial-scale=1.0; maximum-scale=1.0;" />
+ <meta name = "viewport" content = "width=device-width, initial-scale=1.0, maximum-scale=1.0" />
<link rel="apple-touch-icon" href="http://en.m.wikipedia.org/apple-touch-icon.png" />
- if request.device.supports_javascript
= partial "layout/javascript"
@@ -31,4 +31,4 @@
/
== Backend Server: '#{Socket.gethostname}'
== Ruby Version: '#{RUBY_VERSION}'
- == Hit Cache?: #{!!Merb.logger[:cache_hit]}
+ == Hit Cache?: #{!!Merb.logger[:cache_hit]}

0 comments on commit 15c92c1

Please sign in to comment.