Skip to content

Commit

Permalink
Simplify to just Mozilla.Client
Browse files Browse the repository at this point in the history
  • Loading branch information
janbrasna authored Aug 1, 2024
1 parent ace3e5d commit 7291ae9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions media/js/base/banners/firefox-app-store-banner.es6.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ function onLoad() {

if (
window.Mozilla.run &&
window.site &&
!window.Mozilla.Client.isFirefox &&
(window.site.platform === 'android' || window.site.platform === 'ios')
window.Mozilla.Client &&
window.Mozilla.Client.isMobile &&
!window.Mozilla.Client.isFirefox
) {
window.Mozilla.run(onLoad);
}

0 comments on commit 7291ae9

Please sign in to comment.