mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
Improve fullscreen iframe handling
This commit is contained in:
parent
954ebf6caa
commit
6a46c39851
4 changed files with 32 additions and 7 deletions
|
|
@ -11,10 +11,7 @@
|
|||
const iframe_sequence = '{{ $iframe_sequence }}';
|
||||
window.opener = window.parent;
|
||||
window.close = function() {
|
||||
const iframe = parent.document.getElementById('_rx_iframe_' + iframe_sequence);
|
||||
if (iframe) {
|
||||
iframe.remove();
|
||||
}
|
||||
parent.closeFullScreenIframe('_rx_iframe_' + iframe_sequence);
|
||||
};
|
||||
</script>
|
||||
<style>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue