Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia
TypeScript apiapi-clientapi-restapi-testingdeveloper-toolsgraphqlhttphttp-clientpwarestrest-apispatestingtesting-toolstoolsvuevuejswebsocket
Response section expands if hidden when sending a request
Andrew Bastind403bebfa02e
diff --git a/script.js b/script.jsindex ec81d1c22..6f0854364 100644--- a/script.js+++ b/script.js@@ -72,6 +72,12 @@ const app = new Vue({document.getElementsByClassName(el)[0].classList.toggle('hidden')},sendRequest() {+ // Expand the Response section incase it is hidden+ console.log(this.$refs.response.classList)+ if (this.$refs.response.classList.contains('hidden')) {+ this.$refs.response.classList.toggle('hidden')+ }+this.$refs.response.scrollIntoView({behavior: 'smooth'})