From 0a2f413ab45bb4a9c9ab8d0a4041b9000237afb4 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Thu, 22 Aug 2019 16:05:19 -0400 Subject: [PATCH] app path prefix for safari --- jslib | 2 +- src/content/notificationBar.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/jslib b/jslib index 8a0d371d20..fbc7d6c2bc 160000 --- a/jslib +++ b/jslib @@ -1 +1 @@ -Subproject commit 8a0d371d2029622a005d2eddc14de44b1a091da3 +Subproject commit fbc7d6c2bcd3db2833ce6cfb11adea1960867cba diff --git a/src/content/notificationBar.ts b/src/content/notificationBar.ts index f28f2675c6..de2ba77046 100644 --- a/src/content/notificationBar.ts +++ b/src/content/notificationBar.ts @@ -470,7 +470,7 @@ document.addEventListener('DOMContentLoaded', (event) => { } function closeExistingAndOpenBar(type: string, typeData: any) { - let barPage = 'notification/bar.html'; + let barPage = (isSafari ? 'app/' : '') + 'notification/bar.html'; switch (type) { case 'info': barPage = barPage + '?info=' + typeData.text;