refactor(realtime): replace instances of var with const

This commit is contained in:
jamesgeorge007
2019-11-26 14:25:40 +05:30
parent b3680224cc
commit 06d7534462

View File

@@ -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);
});
}