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:
@@ -93,6 +93,9 @@ const app = new Vue({
|
|||||||
url: this.url,
|
url: this.url,
|
||||||
path: this.path
|
path: this.path
|
||||||
})
|
})
|
||||||
|
if (this.$refs.response.classList.contains('hidden')) {
|
||||||
|
this.$refs.response.classList.toggle('hidden')
|
||||||
|
}
|
||||||
this.$refs.response.scrollIntoView({
|
this.$refs.response.scrollIntoView({
|
||||||
behavior: 'smooth'
|
behavior: 'smooth'
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user