Skip to content

Commit 0e8da63

Browse files
Fix _loadAfterBeforeload callback not working due to this.rootName not being defined.
1 parent 7424dca commit 0e8da63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

www/inappbrowser.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
_eventHandler: function (event) {
4242
if (event && (event.type in this.channels)) {
4343
if (event.type === 'beforeload') {
44-
this.channels[event.type].fire(event, this._loadAfterBeforeload);
44+
this.channels[event.type].fire(event, this._loadAfterBeforeload.bind(this));
4545
} else {
4646
this.channels[event.type].fire(event);
4747
}

0 commit comments

Comments
 (0)