mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-08 15:10:54 +03:00
remove hiding elements with jquery
This commit is contained in:
@@ -10,11 +10,9 @@ window.analytics = new testPilotGA({
|
|||||||
tid: window.trackerId
|
tid: window.trackerId
|
||||||
});
|
});
|
||||||
|
|
||||||
const isSender = location.pathname.includes('/download');
|
const isSender = !location.pathname.includes('/download');
|
||||||
|
|
||||||
gcmCompliant().catch(err => {
|
gcmCompliant().catch(err => {
|
||||||
$('#page-one').attr('hidden', true);
|
|
||||||
$('#download').attr('hidden', true);
|
|
||||||
sendEvent(isSender ? 'sender' : 'recipient', 'unsupported', {
|
sendEvent(isSender ? 'sender' : 'recipient', 'unsupported', {
|
||||||
cd6: err
|
cd6: err
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user