summaryrefslogtreecommitdiff
path: root/mobile/js/app.js
diff options
context:
space:
mode:
authors1nical <[email protected]>2019-08-07 22:11:38 -0700
committers1nical <[email protected]>2019-08-07 22:11:38 -0700
commit9244badf2a6dfefa88dedf1624565b496b413077 (patch)
treebe0e6e53813fd3e9afac3fd8f648722fe86a500f /mobile/js/app.js
parentUpdate index.html (diff)
downloads1n.pw-admin-9244badf2a6dfefa88dedf1624565b496b413077.tar.xz
s1n.pw-admin-9244badf2a6dfefa88dedf1624565b496b413077.zip
try fix rdm
Diffstat (limited to 'mobile/js/app.js')
-rw-r--r--mobile/js/app.js6
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