Merge pull request #912 from rda-dev/patch-1
fix redirecting in HttpsMigrateService.check
This commit is contained in:
commit
fdf47ad112
@ -3639,7 +3639,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