Update read.html
This commit is contained in:
parent
00d21d8340
commit
7530aa67ac
1 changed files with 0 additions and 5 deletions
|
@ -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>
|
||||
|
|
Reference in a new issue