mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 21:43:13 +02:00
URL protocol returns the protocol string with the ':' attached
(how did this work before?!)
This commit is contained in:
parent
be7a947ddd
commit
10ee5ac5b4
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,7 @@ function HifiNotifications(config, menuNotificationCallback) {
|
||||||
var _menuNotificationCallback = menuNotificationCallback;
|
var _menuNotificationCallback = menuNotificationCallback;
|
||||||
notifier.on('click', function (notifierObject, options) {
|
notifier.on('click', function (notifierObject, options) {
|
||||||
const optUrl = url.parse(options.url);
|
const optUrl = url.parse(options.url);
|
||||||
if ((optUrl.protocol === "hifi") || (optUrl.protocol === "hifiapp")) {
|
if ((optUrl.protocol === "hifi:") || (optUrl.protocol === "hifiapp:")) {
|
||||||
StartInterface(options.url);
|
StartInterface(options.url);
|
||||||
_menuNotificationCallback(options.notificationType, false);
|
_menuNotificationCallback(options.notificationType, false);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue