mirror of
https://github.com/gorhill/uBlock.git
synced 2024-10-06 09:37:12 +02:00
code review
This commit is contained in:
parent
91276bebfb
commit
adbc0ee2aa
@ -287,7 +287,7 @@ vAPI.messaging.setup = function(defaultHandler) {
|
||||
}
|
||||
|
||||
if ( typeof defaultHandler !== 'function' ) {
|
||||
defaultHandler = function(){ return null; };
|
||||
defaultHandler = function(){ return vAPI.messaging.UNHANDLED; };
|
||||
}
|
||||
this.defaultHandler = defaultHandler;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user