refactor(realtime): replace instances of var with const
This commit is contained in:
parent
b3680224cc
commit
06d7534462
1 changed files with 1 additions and 1 deletions
|
|
@ -434,7 +434,7 @@ export default {
|
|||
},
|
||||
updated: function() {
|
||||
this.$nextTick(function() {
|
||||
var divLog = document.getElementById("log");
|
||||
const divLog = document.getElementById("log");
|
||||
divLog.scrollBy(0, divLog.scrollHeight + 100);
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue