show error page on firefox v49 and below

This commit is contained in:
Erica Wright 2017-07-27 11:13:59 -04:00
parent 303b34a70b
commit 6b291ae012
No known key found for this signature in database
GPG key ID: D9F2AF9D67D0AAB7
3 changed files with 17 additions and 19 deletions

View file

@ -3,7 +3,6 @@ require('./common');
const FileSender = require('./fileSender');
const {
notify,
gcmCompliant,
findMetric,
sendEvent,
ONE_DAY_IN_MS
@ -25,15 +24,6 @@ if (storage.has('referrer')) {
}
$(document).ready(function() {
gcmCompliant().catch(err => {
$('#page-one').attr('hidden', true);
sendEvent('sender', 'unsupported', {
cd6: err
}).then(() => {
location.replace('/unsupported');
});
});
$('#file-upload').change(onUpload);
$('.legal-links a, .social-links a, #dl-firefox').click(function(target) {