Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -118,7 +118,7 @@ js='''
|
|
118 |
<script>
|
119 |
window.postMessageToParent = function(event, source, value) {
|
120 |
// Construct the message object with the provided parameters
|
121 |
-
console.log("post start",event, source, value)
|
122 |
const message = {
|
123 |
event: event,
|
124 |
source: source,
|
@@ -127,7 +127,7 @@ window.postMessageToParent = function(event, source, value) {
|
|
127 |
|
128 |
// Post the message to the parent window
|
129 |
window.parent.postMessage(message, '*');
|
130 |
-
console.log("post finish")
|
131 |
}
|
132 |
</script>
|
133 |
'''
|
|
|
118 |
<script>
|
119 |
window.postMessageToParent = function(event, source, value) {
|
120 |
// Construct the message object with the provided parameters
|
121 |
+
console.log("post start",event, source, value);
|
122 |
const message = {
|
123 |
event: event,
|
124 |
source: source,
|
|
|
127 |
|
128 |
// Post the message to the parent window
|
129 |
window.parent.postMessage(message, '*');
|
130 |
+
console.log("post finish");
|
131 |
}
|
132 |
</script>
|
133 |
'''
|