Skip to content

Commit 9b6b229

Browse files
authored
Allow App using inappbrowser to be hosted in a cross-origin ifra… (apache#669)
Signed-off-by: Sven Strickroth <[email protected]>
1 parent 074d4d0 commit 9b6b229

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

www/inappbrowser.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,6 @@
2020
*/
2121

2222
(function () {
23-
// special patch to correctly work on Ripple emulator (CB-9760)
24-
if (window.parent && !!window.parent.ripple) { // https://gist.github.com/triceam/4658021
25-
module.exports = window.open.bind(window); // fallback to default window.open behaviour
26-
return;
27-
}
28-
2923
var exec = require('cordova/exec');
3024
var channel = require('cordova/channel');
3125
var modulemapper = require('cordova/modulemapper');

0 commit comments

Comments
 (0)