mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 17:51:40 +09:00
Fix iframe closed too early in Safari #2571
This commit is contained in:
parent
614ed353d1
commit
d3606c07db
1 changed files with 3 additions and 1 deletions
|
|
@ -11,7 +11,9 @@
|
||||||
const iframe_sequence = '{{ $iframe_sequence }}';
|
const iframe_sequence = '{{ $iframe_sequence }}';
|
||||||
window.opener = window.parent;
|
window.opener = window.parent;
|
||||||
window.close = function() {
|
window.close = function() {
|
||||||
parent.closeModal('_rx_iframe_' + iframe_sequence);
|
setTimeout(function() {
|
||||||
|
parent.closeModal('_rx_iframe_' + iframe_sequence);
|
||||||
|
}, 100);
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
<style>
|
<style>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue