Node.js based forum software built for the modern web
closes #6307
Barış Soner Uşaklı6cbd70d5107b
diff --git a/public/src/modules/notifications.js b/public/src/modules/notifications.jsindex 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', 'benpayload.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;