Skip to content

Commit a9a7e5b

Browse files
committed
Updates for QModal
1 parent 0a2fb6b commit a9a7e5b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/components/modal/QModal.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -187,11 +187,11 @@ export default {
187187
}, duration)
188188
})
189189
},
190-
__dismiss (onClick) {
190+
__dismiss () {
191191
if (this.noBackdropDismiss) {
192192
return
193193
}
194-
this.hide(onClick)
194+
this.hide()
195195
}
196196
},
197197
beforeDestroy () {
@@ -211,7 +211,7 @@ export default {
211211
staticClass: 'modal fullscreen row',
212212
'class': this.modalClasses,
213213
on: {
214-
mousedown: this.__dismiss,
214+
click: this.__dismiss,
215215
touchstart: this.__dismiss
216216
},
217217
directives: [{
@@ -225,7 +225,7 @@ export default {
225225
style: this.modalCss,
226226
'class': this.contentClasses,
227227
on: {
228-
mousedown (e) {
228+
click (e) {
229229
e.stopPropagation()
230230
},
231231
touchstart (e) {

0 commit comments

Comments
 (0)