From 120962228a33eab639daaf8cca220c56020e53bc Mon Sep 17 00:00:00 2001 From: Colin Gourlay Date: Wed, 3 Jun 2020 11:41:54 +1000 Subject: [PATCH] Correct selectors for applications in the Phase 1 generation. Fixes #1 --- src/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.ts b/src/index.ts index a6902c6..be63fe8 100644 --- a/src/index.ts +++ b/src/index.ts @@ -60,10 +60,10 @@ declare global { const isSelectable = (selector: string): boolean => !!document.querySelector(selector); const IS_APPLICATION_PHASE_1_MOBILE = isSelectable( - 'body.application-standard:not(.application-mobile)' + 'body.platform-mobile:not(.platform-standard)' ); const IS_APPLICATION_PHASE_1_STANDARD = isSelectable( - 'body.application-mobile:not(.application-standard)' + 'body.platform-standard:not(.platform-mobile)' ); const IS_APPLICATION_PHASE_2 = isSelectable('meta[content="WCMS FTL"]'); const IS_APPLICATION_PRESENTATION_LAYER_NEWS_WEB = isSelectable(