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'])
started = true; started = true;
try { try {
navigator.registerProtocolHandler('tg', '#im?tgaddr=%s', 'Telegram Web'); navigator.registerProtocolHandler('tg', '#im?tgaddr=%s', 'Telegram Web');
} catch (e) {}
try {
navigator.registerProtocolHandler('web+tg', '#im?tgaddr=%s', 'Telegram Web'); navigator.registerProtocolHandler('web+tg', '#im?tgaddr=%s', 'Telegram Web');
} catch (e) {} } catch (e) {}

Loading…
Cancel
Save