mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: post judge result to parent window
This commit is contained in:
2 files changed
+2
No files matched your search
@@ -18,6 +18,7 @@ const page = new NamedPage('record_detail', async () => {
|
||||
const newSummary = $(msg.summary_html);
|
||||
const oldSummary = $('#summary');
|
||||
dd.apply(oldSummary[0], dd.diff(oldSummary[0], newSummary[0]));
|
||||
if (typeof msg.status === 'number' && window.parent) window.parent.postMessage({ status: msg.status });
|
||||
};
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user