Skip to content

Commit dda86db

Browse files
author
Pooya Parsa
committed
Merge branch 'master' of github.com:bootstrap-vue/bootstrap-vue
2 parents e5448a6 + 08a4a31 commit dda86db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/modal.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
this._modalAnimation = setTimeout(() => {
6969
_this._body.classList.add('modal-open');
7070
_this.animateModal = true;
71-
_this.$root.$emit('shown::modal')
71+
_this.$root.$emit('shown::modal', this.id)
7272
}, (_this.fade) ? TRANSITION_DURATION : 0)
7373
}, 0)
7474
},
@@ -83,7 +83,7 @@
8383
_this._body.classList.remove('modal-open');
8484
// no hide the modal wrapper
8585
_this.$el.style.display = 'none';
86-
_this.$root.$emit('hidden::modal')
86+
_this.$root.$emit('hidden::modal', this.id)
8787
}, (_this.fade) ? TRANSITION_DURATION : 0)
8888
}, (_this.fade) ? TRANSITION_DURATION : 0)
8989
},

0 commit comments

Comments
 (0)