|
@@ -25,7 +25,7 @@
|
|
}
|
|
}
|
|
function getDeviceType() {
|
|
function getDeviceType() {
|
|
if (!isMobileDevice() && !isTabletDevice()) {
|
|
if (!isMobileDevice() && !isTabletDevice()) {
|
|
- window.location.href = targetProtocol + (window.location.host.replace('m', 'www')) + window.location.pathname + window.location.search
|
|
|
|
|
|
+ window.location.href = (targetProtocol + '//' + (window.location.host.replace('m', 'www')) + window.location.pathname + window.location.search)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
getDeviceType()
|
|
getDeviceType()
|