déjà skip la 6.6.6 ;(

This commit is contained in:
piair 2023-09-27 11:34:47 +02:00
parent dc2a9e20df
commit 45db9eb67c
2 changed files with 3 additions and 0 deletions

View File

@ -72,6 +72,7 @@ function change_logs(value) {
myIframe.addEventListener("load", function() {
let doc = myIframe.contentDocument;
doc.body.innerHTML = doc.body.innerHTML + '<style>html{color:white;}</style>';
myIframe.contentWindow.scrollTo(0, myIframe.contentDocument.body.scrollHeight);
});
myIframe.src = "/static/logs/" + value + ".txt";

View File

@ -19,6 +19,8 @@
function reloadIFrame() {
console.log('reloading..');
document.getElementById('iframe').contentWindow.location.reload();
var myIframe = document.getElementById('iframe');
myIframe.contentWindow.scrollTo(0, myIframe.contentDocument.body.scrollHeight);
}
</script>
{% endif %}