mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
code review
This commit is contained in:
parent
91276bebfb
commit
adbc0ee2aa
1 changed files with 1 additions and 1 deletions
|
|
@ -287,7 +287,7 @@ vAPI.messaging.setup = function(defaultHandler) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( typeof defaultHandler !== 'function' ) {
|
if ( typeof defaultHandler !== 'function' ) {
|
||||||
defaultHandler = function(){ return null; };
|
defaultHandler = function(){ return vAPI.messaging.UNHANDLED; };
|
||||||
}
|
}
|
||||||
this.defaultHandler = defaultHandler;
|
this.defaultHandler = defaultHandler;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue