Browse Source

temp bug fix on redirect.js

Bachir Soussi Chiadmi 6 years ago
parent
commit
b6d90554a6

File diff suppressed because it is too large
+ 0 - 0
sites/all/themes/custom/edlptheme/assets/dist/scripts/redirect.min.js


+ 2 - 2
sites/all/themes/custom/edlptheme/assets/scripts/redirect.js

@@ -19,13 +19,13 @@ if(typeof edlp_mobile != "undefined"){
       // console.log('redirect to mobile domain', window.location.protocol +'//'+ edlp_mobile.mobile_url);
       device_redirect = true;
       // TODO: redirect to mobile domain
-      window.location.replace(window.location.protocol +'//'+ edlp_mobile.mobile_url);
+      // window.location.replace(window.location.protocol +'//'+ edlp_mobile.mobile_url);
       break;
     case (edlp_mobile.is_mobile_domain && !device_is_mobile):
       // console.log('redirect to desktop domain', window.location.protocol +'//'+ edlp_mobile.desktop_url);
       device_redirect = true;
       // TODO: redirect to desktop domain
-      window.location.replace(window.location.protocol +'//'+ edlp_mobile.desktop_url);
+      // window.location.replace(window.location.protocol +'//'+ edlp_mobile.desktop_url);
       break;
     default:
       // console.log('do not redirect');

Some files were not shown because too many files changed in this diff