Skip to content

Commit

Permalink
add resizing code
Browse files Browse the repository at this point in the history
  • Loading branch information
grace-manthey authored Aug 15, 2023
1 parent 66c9cf2 commit 18ff0a0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion heat-table-final/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,8 @@ <h3>See more reporting on the impacts of climate change from ABC Owned Televisio




<br>
<script>!function(){var a,n,i=window||{},s=document||{},t=0;function r(){var e=a.scrollHeight+20;isNaN(e)||e==t||(t=e,isNaN(t)||i.webkit&&i.webkit.messageHandlers&&i.webkit.messageHandlers.espnWebview&&i.webkit.messageHandlers.espnWebview.postMessage({callBack:null,commandName:"ABCNresize",params:{height:t}}))}function o(){var e,a;e=r,a=250,clearTimeout(n),n=setTimeout(e,a)}i.addEventListener("load",function(e){a=s.querySelector(".main-container"),o(),i.addEventListener("resize",o)})}();</script>



Expand Down

0 comments on commit 18ff0a0

Please sign in to comment.