mirror of
https://github.com/Investigamer/cardconjurer.git
synced 2025-07-27 05:14:53 -05:00
Update index.html
This commit is contained in:
@@ -15,12 +15,12 @@
|
|||||||
<meta name="theme-color" content="#64ca2f">
|
<meta name="theme-color" content="#64ca2f">
|
||||||
<!-- Other things -->
|
<!-- Other things -->
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta id="pageViewport" name="viewport" content="width=device-width, initial-scale=1">
|
<meta id="pageViewport" name="viewport" content="user-scalable=no,width=800">
|
||||||
<script>
|
<script>
|
||||||
window.onload = function() {
|
window.onload = function() {
|
||||||
if (screen.width < 800) {
|
if (screen.width > 800) {
|
||||||
var myViewPort = document.getElementById("pageViewport");
|
var myViewPort = document.getElementById("pageViewport");
|
||||||
myViewPort.setAttribute("content", "user-scalable=no,width=800");
|
myViewPort.setAttribute("content", "width=device-width, initial-scale=1");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
Reference in New Issue
Block a user