mirror of https://github.com/FreeTubeApp/FreeTube
Remove check for `role` === `button` in `ft-prompt (#5096)
This commit is contained in:
parent
7685d75e79
commit
d47b1fb7c8
|
@ -97,7 +97,7 @@ export default defineComponent({
|
|||
this.$emit('click', null)
|
||||
},
|
||||
handleHide: function (event) {
|
||||
if (event.target.getAttribute('role') === 'button' || event.target.className === 'prompt') {
|
||||
if (event.target.className === 'prompt') {
|
||||
this.hide()
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue