mirror of https://github.com/gorhill/uBlock.git
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