mirror of
https://github.com/gorhill/uBlock.git
synced 2024-10-06 09:37:12 +02:00
minor code review
This commit is contained in:
parent
315dadb466
commit
839fed43ae
@ -1502,7 +1502,7 @@ vAPI.domSurveyor = (function() {
|
||||
/******************************************************************************/
|
||||
|
||||
vAPI.domIsLoaded = function(ev) {
|
||||
if ( ev ) {
|
||||
if ( ev instanceof Event ) {
|
||||
document.removeEventListener('DOMContentLoaded', vAPI.domIsLoaded);
|
||||
}
|
||||
vAPI.domIsLoaded = null;
|
||||
|
Loading…
Reference in New Issue
Block a user