diff --git a/www/inappbrowser.js b/www/inappbrowser.js
index <HASH>..<HASH> 100644
--- a/www/inappbrowser.js
+++ b/www/inappbrowser.js
@@ -35,7 +35,7 @@ function InAppBrowser() {
 
 InAppBrowser.prototype = {
     _eventHandler: function (event) {
-        if (event.type in this.channels) {
+        if (event && (event.type in this.channels)) {
             this.channels[event.type].fire(event);
         }
     },
CB-<I> check if event is null since OK string from success callback was removed

github: close #<I>