views/logs.erb in puppetfactory-0.5.9 vs views/logs.erb in puppetfactory-0.6.0
- old
+ new
@@ -12,22 +12,13 @@
$(this).animate({scrollTop: elem.scrollHeight}, 500);
}
// use timeout instead of an interval so that in case of network error
// we don't end up with a queue of requests stacked up.
- setTimeout(loadLogs, 5000);
+ setTimeout(function(){loadLogs}, 5000);
});
}
$(document).ready(function() {
loadLogs(true);
});
</script>
-
-<style>
- #logs .data {
- font-family: monospace;
- white-space: pre-wrap;
- height: 500px;
- overflow-y: scroll;
- }
-</style>