mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
luci-app-ttyd auto fit iframe height (#6821)
This commit is contained in:
parent
1549187fc5
commit
5d9e12eba4
@ -5,5 +5,9 @@
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
document.getElementById("terminal").src = "http://" + window.location.hostname + ":7681";
|
||||
document.getElementById("terminal").height = document.documentElement.clientHeight;
|
||||
window.onresize = function(){
|
||||
document.getElementById("terminal").height = document.documentElement.clientHeight;
|
||||
}
|
||||
</script>
|
||||
<%+footer%>
|
Loading…
Reference in New Issue
Block a user