add prefix to ack
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
This commit is contained in:
parent
fe4c94e895
commit
35ee716159
1 changed files with 2 additions and 2 deletions
|
@ -61,7 +61,7 @@
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!parentWindow && !data.type === "init") {
|
if (!parentWindow && !data.type === "openoutpaint/init") {
|
||||||
console.warn(`[webui] Communication has not been initialized`);
|
console.warn(`[webui] Communication has not been initialized`);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -94,7 +94,7 @@
|
||||||
// Send acknowledgement
|
// Send acknowledgement
|
||||||
parentWindow &&
|
parentWindow &&
|
||||||
parentWindow.postMessage({
|
parentWindow.postMessage({
|
||||||
type: "ack",
|
type: "openoutpaint/ack",
|
||||||
message: data,
|
message: data,
|
||||||
});
|
});
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
|
Loading…
Reference in a new issue