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() {
|
||||
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";
|
||||
|
||||
|
|
|
@ -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 %}
|
||||
|
|
Loading…
Reference in New Issue