Commit 8532b10e by Sixong.Zhu

style

parent 4fee3b40
Showing with 2 additions and 2 deletions
...@@ -218,13 +218,13 @@ export default class MessageList extends Vue { ...@@ -218,13 +218,13 @@ export default class MessageList extends Vue {
return setTimeout( return setTimeout(
() => () =>
(wrap.scrollTop = Math.max( (wrap.scrollTop = Math.max(
wrap.scrollHeight, wrap.scrollHeight + 100,
10000 10000
)), )),
delay delay
); );
} }
wrap.scrollTop = Math.max(wrap.scrollHeight, 10000); wrap.scrollTop = Math.max(wrap.scrollHeight + 100, 10000);
} }
}); });
} }
......
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 sign in to comment