Revert "fix bootstrap error"

This reverts commit f94053dd3a
This commit is contained in:
chiu 2020-05-19 15:19:02 +08:00
parent 039b3942fc
commit 6a9bc2cc7e
2 changed files with 2 additions and 3 deletions

View File

@ -948,10 +948,9 @@ if (typeof jQuery === 'undefined') {
Modal.prototype.show = function (_relatedTarget) { Modal.prototype.show = function (_relatedTarget) {
var that = this var that = this
var e = $.Event('show.bs.modal', { relatedTarget: _relatedTarget }) var e = $.Event('show.bs.modal', { relatedTarget: _relatedTarget })
var e_old = $.Event('shown', { relatedTarget: _relatedTarget })
this.$element.trigger(e) this.$element.trigger(e)
this.$element.trigger(e_old)
if (this.isShown || e.isDefaultPrevented()) return if (this.isShown || e.isDefaultPrevented()) return
this.isShown = true this.isShown = true

File diff suppressed because one or more lines are too long