mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-07 22:50:53 +03:00
remove hiding elements with jquery
This commit is contained in:
@@ -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(() => {
|
||||
|
||||
Reference in New Issue
Block a user