Test presence of `firefox` instead of absence of `chromium`

This commit is contained in:
Raymond Hill 2019-02-12 15:29:20 -05:00
parent 2fb4dc8358
commit 83a3767a16
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
1 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@
(function() {
// https://github.com/uBlockOrigin/uBlock-issues/issues/407
if ( vAPI.webextFlavor.soup.has('chromium') === false ) { return; }
if ( vAPI.webextFlavor.soup.has('firefox') ) { return; }
const extToTypeMap = new Map([
['eot','font'],['otf','font'],['svg','font'],['ttf','font'],['woff','font'],['woff2','font'],
@ -157,7 +157,7 @@
vAPI.net.onBeforeReady = vAPI.net.onBeforeReady || (function() {
// https://github.com/uBlockOrigin/uBlock-issues/issues/407
if ( vAPI.webextFlavor.soup.has('chromium') === false ) { return; }
if ( vAPI.webextFlavor.soup.has('firefox') ) { return; }
let pendings;