Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
bressler95tops authored Sep 26, 2024
1 parent 6e71854 commit 537be02
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
document.addEventListener("DOMContentLoaded", function() {

let receiver = document.getElementById('receiver').contentWindow;
let receiver_obj = document.getElementById('receiver')
let receiver = receiver_obj.contentWindow;
window.addEventListener('message', receiveMessage, false);

function receiveMessage(event){
Expand Down

0 comments on commit 537be02

Please sign in to comment.