diff options
author | Raymond Hill <rhill@raymondhill.net> | 2014-11-16 14:39:38 -0200 |
---|---|---|
committer | Raymond Hill <rhill@raymondhill.net> | 2014-11-16 14:39:38 -0200 |
commit | adbc0ee2aadd571dc0ff23ca940bc06329b84c68 (patch) | |
tree | fbe1c000876d4d6db63647d302e8a2f7939e8503 /meta | |
parent | 91276bebfbc6eaafcbb1b6e8bcc8ad58484b7f91 (diff) | |
download | uBlock-adbc0ee2aadd571dc0ff23ca940bc06329b84c68.zip uBlock-adbc0ee2aadd571dc0ff23ca940bc06329b84c68.tar.gz uBlock-adbc0ee2aadd571dc0ff23ca940bc06329b84c68.tar.bz2 |
code review
Diffstat (limited to 'meta')
-rw-r--r-- | meta/crx/vapi-background.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/crx/vapi-background.js b/meta/crx/vapi-background.js index 6cd19b2..331e2bf 100644 --- a/meta/crx/vapi-background.js +++ b/meta/crx/vapi-background.js @@ -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; |