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
commit 0c771ca506
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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'
})