Commit 5a876b26 authored by mercury233's avatar mercury233

scrollIntoView

parent 4f2a21fc
...@@ -120,6 +120,7 @@ function login() { ...@@ -120,6 +120,7 @@ function login() {
var data_li = $('<li>'+ e.data +'</li>'); var data_li = $('<li>'+ e.data +'</li>');
data_li.appendTo($("#output")); data_li.appendTo($("#output"));
data_li[0].scrollIntoView();
if (e.data=="已连接。") { if (e.data=="已连接。") {
$(".row.buttons").removeClass("hidden"); $(".row.buttons").removeClass("hidden");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment