From 9244badf2a6dfefa88dedf1624565b496b413077 Mon Sep 17 00:00:00 2001 From: s1nical Date: Wed, 7 Aug 2019 22:11:38 -0700 Subject: try fix rdm --- mobile/js/app.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'mobile/js') 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 -- cgit v1.2.3