moved back to common
This commit is contained in:
parent
8eae1f282b
commit
7a53ed96ed
3 changed files with 22 additions and 40 deletions
|
@ -8,25 +8,6 @@ const storage = new Storage(localStorage);
|
|||
const $ = require('jquery');
|
||||
require('jquery-circle-progress');
|
||||
|
||||
gcmCompliant().catch(err => {
|
||||
$('#page-one').attr('hidden', true);
|
||||
$('#download').attr('hidden', true);
|
||||
sendEvent('recipient', 'unsupported', {
|
||||
cd6: err
|
||||
}).then(() => {
|
||||
location.replace('/unsupported');
|
||||
});
|
||||
});
|
||||
|
||||
if (navigator.userAgent.toLowerCase().indexOf('firefox') > -1 &&
|
||||
parseInt(navigator.userAgent.toLowerCase().match(/firefox\/*([^\n\r]*)\./)[1]) <= 49) {
|
||||
sendEvent('recipient', 'unsupported', {
|
||||
cd6: new Error('Firefox is outdated.')
|
||||
}).then(() => {
|
||||
location.replace('/unsupported');
|
||||
});
|
||||
}
|
||||
|
||||
const Raven = window.Raven;
|
||||
|
||||
$(document).ready(function() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue