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;
|
||||
}
|
||||
|
||||
if (!parentWindow && !data.type === "init") {
|
||||
if (!parentWindow && !data.type === "openoutpaint/init") {
|
||||
console.warn(`[webui] Communication has not been initialized`);
|
||||
}
|
||||
|
||||
|
@ -94,7 +94,7 @@
|
|||
// Send acknowledgement
|
||||
parentWindow &&
|
||||
parentWindow.postMessage({
|
||||
type: "ack",
|
||||
type: "openoutpaint/ack",
|
||||
message: data,
|
||||
});
|
||||
} catch (e) {
|
||||
|
|
Loading…
Reference in a new issue