mirror of
https://github.com/Emupedia/emupedia.github.io.git
synced 2026-12-05 03:59:53 +08:00
More work
This commit is contained in:
@@ -35,7 +35,8 @@
|
||||
var $iframe = $('#' + this.iframe_id);
|
||||
|
||||
if ($iframe.length) {
|
||||
$iframe.get(0).contentWindow.postMessage({cmd: cmd, data: data}, '*');
|
||||
var cdata = JSON.parse(JSON.stringify(data));
|
||||
$iframe.get(0).contentWindow.postMessage({cmd: cmd, data: cdata}, '*');
|
||||
}
|
||||
} else {
|
||||
this.buffer.push([cmd, data]);
|
||||
|
||||
Reference in New Issue
Block a user