Skip to content

Commit

Permalink
Allow App using inappbrowser to be hosted in a cross-origin ifra… (#669)
Browse files Browse the repository at this point in the history
Signed-off-by: Sven Strickroth <email@cs-ware.de>
  • Loading branch information
csware authored Apr 14, 2020
1 parent 074d4d0 commit 9b6b229
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions www/inappbrowser.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,6 @@
*/

(function () {
// special patch to correctly work on Ripple emulator (CB-9760)
if (window.parent && !!window.parent.ripple) { // https://gist.github.com/triceam/4658021
module.exports = window.open.bind(window); // fallback to default window.open behaviour
return;
}

var exec = require('cordova/exec');
var channel = require('cordova/channel');
var modulemapper = require('cordova/modulemapper');
Expand Down

0 comments on commit 9b6b229

Please sign in to comment.