Skip to content

Commit

Permalink
Prevent scaling when editing on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
syncguru committed Jul 14, 2014
1 parent 5624902 commit a188b04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/layout_api.php
Expand Up @@ -220,7 +220,7 @@ function layout_head_meta() {
# use the following meta to force IE use its most up to date rendering engine
echo '<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />' . "\n";

echo '<meta name="viewport" content="width=device-width, initial-scale=1.0" />' . "\n";
echo '<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />' . "\n";
}

/**
Expand Down

0 comments on commit a188b04

Please sign in to comment.