mirror of
https://github.com/gorhill/uBlock.git
synced 2024-10-06 09:37:12 +02:00
Merge branch 'master' of github.com:gorhill/uBlock
This commit is contained in:
commit
0c89f24c19
@ -32,7 +32,7 @@
|
||||
var showdomButton = uDom.nodeFromId('showdom');
|
||||
|
||||
// Don't bother if the browser is not modern enough.
|
||||
if ( typeof Map === undefined || Map.polyfill || typeof WeakMap === undefined ) {
|
||||
if ( typeof Map === 'undefined' || Map.polyfill || typeof WeakMap === 'undefined' ) {
|
||||
showdomButton.classList.add('disabled');
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user