diff options
Diffstat (limited to 'templates/editor.php')
-rw-r--r-- | templates/editor.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/editor.php b/templates/editor.php index 17fac75..381c316 100644 --- a/templates/editor.php +++ b/templates/editor.php @@ -50,3 +50,10 @@ <?php } ?> </div> + +<?php if (!empty($_["directToken"])) { ?> +<script> + document.querySelector("meta[name='viewport']") + .setAttribute("content", "width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"); +</script> +<?php } ?> |