mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
minor code review
This commit is contained in:
parent
315dadb466
commit
839fed43ae
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue