From 318e1a49bfcad516d51d9985883981a8cbf19510 Mon Sep 17 00:00:00 2001 From: Erica Wright Date: Thu, 27 Jul 2017 13:15:50 -0400 Subject: [PATCH] remove hiding elements with jquery --- frontend/src/common.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/frontend/src/common.js b/frontend/src/common.js index bd49f149..26ecff1a 100644 --- a/frontend/src/common.js +++ b/frontend/src/common.js @@ -10,11 +10,9 @@ window.analytics = new testPilotGA({ tid: window.trackerId }); -const isSender = location.pathname.includes('/download'); +const isSender = !location.pathname.includes('/download'); gcmCompliant().catch(err => { - $('#page-one').attr('hidden', true); - $('#download').attr('hidden', true); sendEvent(isSender ? 'sender' : 'recipient', 'unsupported', { cd6: err }).then(() => {