Skip to content

Commit

Permalink
Fix viewport definition error on Chrome
Browse files Browse the repository at this point in the history
I got "Viewport argument value "device-width;" for key "width" not
recognized. Content ignored." from Chrome. After some googling I found
out that comma are the correct delimiters for viewport properties.
This commit fix this problem by replacing colon with comma.

Ref:
http://stackoverflow.com/questions/5555125/viewport-tag-syntax
h5bp/html5-boilerplate#626
http://drupal.org/node/1292710

Signed-off-by: Misbachul Munir <[email protected]>
  • Loading branch information
mgoku committed Jul 14, 2012
1 parent c8ba88e commit 01336ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion header.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<title><?php wp_title('', true, 'right'); ?></title>

<meta name="viewport" content="width=device-width; initial-scale=1.0">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<!-- icons & favicons -->
<!-- For iPhone 4 -->
Expand Down

0 comments on commit 01336ef

Please sign in to comment.