Update read.html

This commit is contained in:
Kittenoncatnip 2019-01-16 10:17:55 +00:00
parent 00d21d8340
commit 7530aa67ac

View file

@ -41,11 +41,6 @@
function resizeIframe() {
var contentHeight = $("#bookContent").contents().find("html").height();
var menuHeight = $("#bookMenu").height();
if (contentHeight < menuHeight) {
$("#bookContent").height(menuHeight);
} else {
$("#bookContent").height(contentHeight);
}
}
</script>
<iframe id="bookContent" onload="resizeIframe();" style="width: 100%; height: 1080px; border: 0;" scrolling="auto" src="{{.Content}}" seamless="seamless" sandbox="allow-same-origin" frameborder=0></iframe>