created /unsupported page and added gcmCompliant to /download page
This commit is contained in:
parent
0d5fb1740d
commit
f5bd332ff8
5 changed files with 26 additions and 15 deletions
|
@ -27,10 +27,10 @@ if (storage.has('referrer')) {
|
|||
$(document).ready(function() {
|
||||
gcmCompliant().catch(err => {
|
||||
$('#page-one').attr('hidden', true);
|
||||
$('#unsupported-browser').removeAttr('hidden');
|
||||
// record unsupported event
|
||||
sendEvent('sender', 'unsupported', {
|
||||
cd6: err
|
||||
}).then(() => {
|
||||
location.replace('/unsupported');
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue