hmmm
This commit is contained in:
parent
07c37b9ae9
commit
8934568b84
@ -74,18 +74,15 @@ function change_logs(value) {
|
||||
doc.body.innerHTML = doc.body.innerHTML + '<style>html{color:white;}</style>';
|
||||
myIframe.contentWindow.scrollTo(0, myIframe.contentDocument.body.scrollHeight);
|
||||
|
||||
window.setInterval(function() {
|
||||
myInterval = window.setInterval(function() {
|
||||
reloadIFrame()
|
||||
}, 500);
|
||||
}, 100);
|
||||
});
|
||||
|
||||
function reloadIFrame() {
|
||||
console.log('reloading..');
|
||||
document.getElementById('iframe').contentWindow.location.reload();
|
||||
|
||||
window.setInterval(function() {
|
||||
reloadIFrame()
|
||||
}, 100000);
|
||||
clearInterval(myInterval);
|
||||
}
|
||||
myIframe.src = "/static/logs/" + value + ".txt";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user