fix redirecting in HttpsMigrateService.check
This commit is contained in:
parent
4976c7d413
commit
2576421bc5
@ -5720,7 +5720,7 @@ angular.module('myApp.services', ['myApp.i18n', 'izhukov.utils'])
|
|||||||
popup = window.open('https://web.telegram.org', '_blank');
|
popup = window.open('https://web.telegram.org', '_blank');
|
||||||
} catch (e) {}
|
} catch (e) {}
|
||||||
if (!popup) {
|
if (!popup) {
|
||||||
location = 'https://web.telegram.org';
|
location.href = 'https://web.telegram.org';
|
||||||
}
|
}
|
||||||
}, function () {
|
}, function () {
|
||||||
Storage.set({https_dismiss: tsNow()});
|
Storage.set({https_dismiss: tsNow()});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user