1
0
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:
gorhill 2016-09-10 08:29:26 -04:00
commit 0c89f24c19

View File

@ -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;
}