nsfwalex commited on
Commit
90f8da1
โ€ข
1 Parent(s): 57ee7c0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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
  '''