summaryrefslogtreecommitdiff
path: root/mobile/js
diff options
context:
space:
mode:
Diffstat (limited to 'mobile/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