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:
commit
0c771ca506
1 changed files with 3 additions and 0 deletions
|
|
@ -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'
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in a new issue