remove hiding elements with jquery
This commit is contained in:
parent
7a53ed96ed
commit
318e1a49bf
|
@ -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(() => {
|
||||
|
|
Loading…
Reference in New Issue