Merge pull request #1 from AndrewBastin/master

Response section expands if hidden when sending a request

Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
This commit is contained in:
Liyas Thomas
2019-08-22 16:03:45 +05:30
committed by GitHub

View File

@@ -93,6 +93,9 @@ const app = new Vue({
url: this.url,
path: this.path
})
if (this.$refs.response.classList.contains('hidden')) {
this.$refs.response.classList.toggle('hidden')
}
this.$refs.response.scrollIntoView({
behavior: 'smooth'
})