create /unsupported/outdated version of the /unsupported page

This commit is contained in:
Erica Wright 2017-07-27 14:24:49 -04:00
parent 318e1a49bf
commit 8d8c2efa23
No known key found for this signature in database
GPG key ID: D9F2AF9D67D0AAB7
5 changed files with 30 additions and 16 deletions

View file

@ -16,7 +16,7 @@ gcmCompliant().catch(err => {
sendEvent(isSender ? 'sender' : 'recipient', 'unsupported', {
cd6: err
}).then(() => {
location.replace('/unsupported');
location.replace('/unsupported/gcm');
});
});
@ -25,6 +25,6 @@ if (navigator.userAgent.toLowerCase().indexOf('firefox') > -1 &&
sendEvent(isSender ? 'sender' : 'recipient', 'unsupported', {
cd6: new Error('Firefox is outdated.')
}).then(() => {
location.replace('/unsupported');
location.replace('/unsupported/outdated');
});
}