Browse Source

fix redirecting in HttpsMigrateService.check

master
m0n61an 9 years ago
parent
commit
2576421bc5
  1. 2
      app/js/services.js

2
app/js/services.js

@ -5720,7 +5720,7 @@ angular.module('myApp.services', ['myApp.i18n', 'izhukov.utils']) @@ -5720,7 +5720,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