temp bug fix on redirect.js

This commit is contained in:
2018-04-26 22:17:12 +02:00
parent 5ebbbcdf08
commit b6d90554a6
2 changed files with 3 additions and 3 deletions
@@ -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');