mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 06:37:19 -04:00
- don't fade in, under high rates this causes browser to be unhappy.
This commit is contained in:
parent
6052606ff2
commit
99a0c37ede
1 changed files with 4 additions and 3 deletions
|
@ -59,14 +59,15 @@
|
|||
ws.onmessage = function(event) {
|
||||
eval("var data = " + event.data);
|
||||
var el = $("#message-template").tmpl(data, { "message": data["@message"], "timestamp": data["@timestamp"] });
|
||||
//.css("display", "none")
|
||||
//.fadeIn()
|
||||
el.addClass("message")
|
||||
.css("display", "none")
|
||||
.appendTo($("#radiator"))
|
||||
.fadeIn()
|
||||
.delay(10000)
|
||||
.fadeOut(2000, function() {
|
||||
.hide(2000, function() {
|
||||
$(this).remove();
|
||||
});
|
||||
//.fadeOut(2000, function() {
|
||||
};
|
||||
});
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue