Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
chtrembl committed Nov 6, 2023
1 parent 705ea5c commit a0e2664
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -623,9 +623,9 @@ export const sendTextMessage = createAsyncThunk('sm/sendTextMessage', async ({ t
const iframes = document.getElementsByTagName('iframe');
for (let i = 0; i < iframes.length; i += 1) {
try {
console.log(iframes[i].contentWindow.location.href);
console.log(iframes[i].contentWindow.location.href);
} catch (e) {
console.log('Cannot access iframe URL due to same-origin policy:', e);
console.log('Cannot access iframe URL due to same-origin policy:', e);
}
}
persona.conversationSend(`${text} sid:${window.top.sid}csrf:${window.parent.csrf}`);
Expand Down

0 comments on commit a0e2664

Please sign in to comment.