CB-8444 Add a clobber for cordova.InAppBrowser.open
(close #80)
- Update doc with workaround for removing clobber
This commit is contained in:
parent
ad263a1b53
commit
0293771e14
@ -42,6 +42,10 @@ For backwards compatibility, this plugin also hooks `window.open`.
|
||||
However, the plugin-installed hook of `window.open` can have unintended side
|
||||
effects (especially if this plugin is included only as a dependency of another
|
||||
plugin). The hook of `window.open` will be removed in a future major release.
|
||||
Until the hook is removed from the plugin, apps can manually restore the default
|
||||
behaviour:
|
||||
|
||||
delete window.open // Reverts the call back to it's prototype's default
|
||||
|
||||
Although `window.open` is in the global scope, InAppBrowser is not available until after the `deviceready` event.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user