déjà skip la 6.6.6 ;(
This commit is contained in:
parent
dc2a9e20df
commit
45db9eb67c
|
@ -72,6 +72,7 @@ function change_logs(value) {
|
||||||
myIframe.addEventListener("load", function() {
|
myIframe.addEventListener("load", function() {
|
||||||
let doc = myIframe.contentDocument;
|
let doc = myIframe.contentDocument;
|
||||||
doc.body.innerHTML = doc.body.innerHTML + '<style>html{color:white;}</style>';
|
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";
|
myIframe.src = "/static/logs/" + value + ".txt";
|
||||||
|
|
||||||
|
|
|
@ -19,6 +19,8 @@
|
||||||
function reloadIFrame() {
|
function reloadIFrame() {
|
||||||
console.log('reloading..');
|
console.log('reloading..');
|
||||||
document.getElementById('iframe').contentWindow.location.reload();
|
document.getElementById('iframe').contentWindow.location.reload();
|
||||||
|
var myIframe = document.getElementById('iframe');
|
||||||
|
myIframe.contentWindow.scrollTo(0, myIframe.contentDocument.body.scrollHeight);
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in New Issue