Skip to content

Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia

refactor(realtime): replace instances of var with const

jamesgeorge00706d75344620d
diff --git a/pages/realtime.vue b/pages/realtime.vue
index df0186591..8b2a15892 100644
--- a/pages/realtime.vue
+++ b/pages/realtime.vue
@@ -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);
});
}