From 625ae961c4833e1a2940824d8e234c96a2340c75 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Thu, 11 Jan 2018 22:22:07 -0500 Subject: [PATCH] safari check on view open --- src/services/browserPlatformUtils.service.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/services/browserPlatformUtils.service.ts b/src/services/browserPlatformUtils.service.ts index 6d59d17384b..83c1a4a82a2 100644 --- a/src/services/browserPlatformUtils.service.ts +++ b/src/services/browserPlatformUtils.service.ts @@ -119,6 +119,11 @@ export default class BrowserPlatformUtilsService implements PlatformUtilsService } isViewOpen(): boolean { + if (this.isSafari()) { + // TODO + return true; + } + const popupOpen = chrome.extension.getViews({ type: 'popup' }).length > 0; if (popupOpen) { return true;