Merge pull request #339 from mozilla/v49

Show error page on firefox v49 and below
This commit is contained in:
Danny Coates 2017-07-28 11:42:21 -07:00 committed by GitHub
commit 6be94156db
7 changed files with 49 additions and 33 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) {