Skip to content

Commit

Permalink
Correct selectors for applications in the Phase 1 generation. Fixes #1
Browse files Browse the repository at this point in the history
  • Loading branch information
Colin Gourlay committed Jun 3, 2020
1 parent 5b78f62 commit 1209622
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 1209622

Please sign in to comment.