Skip to content

Commit

Permalink
Update AMP spec to file revision 757 with meta viewport changes
Browse files Browse the repository at this point in the history
  • Loading branch information
westonruter committed Nov 15, 2018
1 parent 48369ea commit 90a7412
Show file tree
Hide file tree
Showing 5 changed files with 179 additions and 44 deletions.
2 changes: 1 addition & 1 deletion includes/class-amp-theme-support.php
Original file line number Diff line number Diff line change
Expand Up @@ -1247,7 +1247,7 @@ public static function ensure_required_markup( DOMDocument $dom, $script_handles
if ( ! $meta_viewport ) {
$meta_viewport = AMP_DOM_Utils::create_node( $dom, 'meta', array(
'name' => 'viewport',
'content' => 'width=device-width,minimum-scale=1',
'content' => 'width=device-width',
) );
} else {
$head->removeChild( $meta_viewport ); // So we can move it.
Expand Down
Loading

0 comments on commit 90a7412

Please sign in to comment.