Skip to content

Commit

Permalink
updating publications
Browse files Browse the repository at this point in the history
  • Loading branch information
Sajjad Arshad committed May 9, 2020
1 parent cc54c13 commit aed5128
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions index.html
Expand Up @@ -311,6 +311,12 @@
iframe.style.height = iframe.contentWindow.document.body.scrollHeight + 'px';
parentWindow.scrollTo(0, parentWindowScrollY);
}
setTimeout(function() {
var parentWindowScrollY = parentWindow.scrollY;
iframe.style.height = "100%";
iframe.style.height = iframe.contentWindow.document.body.scrollHeight + 'px';
parentWindow.scrollTo(0, parentWindowScrollY);
}, 3000);
</script>
</body>
</html>

0 comments on commit aed5128

Please sign in to comment.