Skip to content
This repository has been archived by the owner on Jan 20, 2020. It is now read-only.

Fix usage on recent versions of Firefox Mobile #15

Merged
merged 1 commit into from
Aug 7, 2014

Conversation

malept
Copy link
Contributor

@malept malept commented Apr 24, 2014

Firefox Mobile has included support for the unprefixed version of the web
notifications API since version 22. Unfortunately, it also seems to have kept
navigator.mozNotification around, though it no longer seems to work. Move
conditionals around in permissionLevel() so the unprefixed check takes
precedence over the moz-prefixed check.

Fixes GH #12.

Firefox Mobile has included support for the unprefixed version of the web
notifications API since version 22. Unfortunately, it also seems to have kept
navigator.mozNotification around, though it no longer seems to work. Move
conditionals around in permissionLevel() so the unprefixed check takes
precedence over the moz-prefixed check.

Fixes GH ttsvetko#12.
ttsvetko added a commit that referenced this pull request Aug 7, 2014
Fix usage on recent versions of Firefox Mobile
@ttsvetko ttsvetko merged commit b5bc3b2 into ttsvetko:master Aug 7, 2014
@malept malept deleted the firefox-mobile branch February 12, 2017 00:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants