From 6cbd70d5107bb20f43a62ae4dcfa53313a8bdeaf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Mon, 5 Feb 2018 10:35:23 -0500 Subject: [PATCH] closes #6307 --- public/src/modules/notifications.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/src/modules/notifications.js b/public/src/modules/notifications.js index d9f29cebcd..92574f3eb1 100644 --- a/public/src/modules/notifications.js +++ b/public/src/modules/notifications.js @@ -77,7 +77,7 @@ define('notifications', ['sounds', 'translator', 'components', 'navigator', 'ben payload.message = notifData.bodyShort; payload.type = 'info'; payload.clickfn = function () { - if (notifData.path.startsWith('http') && notifData.path.startsWith('https')) { + if (notifData.path.startsWith('http') || notifData.path.startsWith('https')) { window.location.href = notifData.path; } else { window.location.href = window.location.protocol + '//' + window.location.host + config.relative_path + notifData.path;