Browse Source

Fixed register protocol

master
Igor Zhukov 10 years ago
parent
commit
dc9de1396d
  1. 2
      app/js/services.js

2
app/js/services.js

@ -4182,6 +4182,8 @@ angular.module('myApp.services', ['myApp.i18n', 'izhukov.utils']) @@ -4182,6 +4182,8 @@ angular.module('myApp.services', ['myApp.i18n', 'izhukov.utils'])
started = true;
try {
navigator.registerProtocolHandler('tg', '#im?tgaddr=%s', 'Telegram Web');
} catch (e) {}
try {
navigator.registerProtocolHandler('web+tg', '#im?tgaddr=%s', 'Telegram Web');
} catch (e) {}

Loading…
Cancel
Save