added promo string to ftl & updated deps

This commit is contained in:
Danny Coates 2019-04-26 11:39:24 -07:00
parent c800257678
commit e7964c03ed
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB
6 changed files with 1500 additions and 1386 deletions

View file

@ -10,7 +10,6 @@ function banner(state) {
const show =
!state.capabilities.standalone &&
!/firefox/i.test(navigator.userAgent) &&
document.querySelector('html').lang.startsWith('en') &&
!state.route.startsWith('/unsupported/');
if (show) {
return state.cache(Promo, 'promo').render();