CB-7720 check if event is null since OK string from success callback was removed
github: close #68
This commit is contained in:
parent
80010ae309
commit
8012ae709b
@ -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);
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user