diff options
| author | s1nical <[email protected]> | 2019-08-07 22:11:38 -0700 |
|---|---|---|
| committer | s1nical <[email protected]> | 2019-08-07 22:11:38 -0700 |
| commit | 9244badf2a6dfefa88dedf1624565b496b413077 (patch) | |
| tree | be0e6e53813fd3e9afac3fd8f648722fe86a500f /mobile/js | |
| parent | Update index.html (diff) | |
| download | s1n.pw-admin-9244badf2a6dfefa88dedf1624565b496b413077.tar.xz s1n.pw-admin-9244badf2a6dfefa88dedf1624565b496b413077.zip | |
try fix rdm
Diffstat (limited to 'mobile/js')
| -rw-r--r-- | mobile/js/app.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/mobile/js/app.js b/mobile/js/app.js index 55e4952..98b3051 100644 --- a/mobile/js/app.js +++ b/mobile/js/app.js @@ -10,7 +10,11 @@ if( screen.width > 480 ) { // ALLOWS MOBILR TO UTILIZE "Request Desktop Site" FEATURE function requestDesktopSite() { - document.getElementsByTagName('meta')['viewport'].content='width= 1440px;'; + if(document.getElementsByTagName('meta')['viewport'].content=='width= 1440px;'){ + document.getElementsByTagName('meta')['viewport'].content='width= 400px;'; + }else{ + document.getElementsByTagName('meta')['viewport'].content='width= 1440px;'; + } } // BACKGROUND SPARKLES |