Browse Source

Merge pull request #912 from rda-dev/patch-1

fix redirecting in HttpsMigrateService.check
master
Igor Zhukov 9 years ago
parent
commit
fdf47ad112
  1. 2
      app/js/services.js

2
app/js/services.js

@ -3639,7 +3639,7 @@ angular.module('myApp.services', ['myApp.i18n', 'izhukov.utils']) @@ -3639,7 +3639,7 @@ angular.module('myApp.services', ['myApp.i18n', 'izhukov.utils'])
popup = window.open('https://web.telegram.org', '_blank');
} catch (e) {}
if (!popup) {
location = 'https://web.telegram.org';
location.href = 'https://web.telegram.org';
}
}, function () {
Storage.set({https_dismiss: tsNow()});

Loading…
Cancel
Save