refactor(realtime): replace instances of var with const
This commit is contained in:
@@ -434,7 +434,7 @@ export default {
|
|||||||
},
|
},
|
||||||
updated: function() {
|
updated: function() {
|
||||||
this.$nextTick(function() {
|
this.$nextTick(function() {
|
||||||
var divLog = document.getElementById("log");
|
const divLog = document.getElementById("log");
|
||||||
divLog.scrollBy(0, divLog.scrollHeight + 100);
|
divLog.scrollBy(0, divLog.scrollHeight + 100);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user