Skip to content

Commit

Permalink
Remove post message script (#139)
Browse files Browse the repository at this point in the history
Signed-off-by: mohin7 <csemohin@gmail.com>
  • Loading branch information
mohin7 authored Mar 24, 2024
1 parent c50c31a commit bcb9dd3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions layouts/_default/notification_top.html
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,10 @@
</div>
</div>
<script>
var notificationWrapper = document.getElementById("notificationWrapper");
var parentWindow = window.parent;
// Send a message to the parent window
parentWindow.postMessage(notificationWrapper.scrollHeight);
// var notificationWrapper = document.getElementById("notificationWrapper");
// var parentWindow = window.parent;
// // Send a message to the parent window
// parentWindow.postMessage(notificationWrapper.scrollHeight);
</script>
</body>
</html>

0 comments on commit bcb9dd3

Please sign in to comment.