1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-10-06 09:37:12 +02:00

this fixes silly bug in neutered google-analytics.com/analytics.js

This commit is contained in:
gorhill 2016-01-05 14:44:48 -05:00
parent cfb99d605f
commit ba18218487
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@
146704ad1c0393e342afdb416762c183 assets/ublock/badware.txt
5baa90e2da7cd6a73edff2010557ee57 assets/ublock/redirect.txt
f9bb491dbba453752199e8378ee152bb assets/ublock/experimental.txt
78719af60a1519989462fd360a1946cb assets/ublock/resources.txt
f2442847428017dc37c6bbf36f834149 assets/ublock/resources.txt
fe4e995a7a828da38fcb0188c3996dbc assets/ublock/filter-lists.json
50573388b525ede1a920cd4b4ee7fbf0 assets/thirdparties/easylist-downloads.adblockplus.org/easyprivacy.txt
61cc16cf02e034370f0f47bc17c46551 assets/thirdparties/easylist-downloads.adblockplus.org/easylist.txt

View File

@ -204,7 +204,7 @@ google-analytics.com/analytics.js application/javascript
return;
}
var f = arguments[len-1];
if ( typeof f === 'object' && typeof f.hitCallback === 'function' ) {
if ( typeof f === 'object' && f !== null && typeof f.hitCallback === 'function' ) {
f.hitCallback();
}
};