Merge branch 'revert-f94053dd' into 'master'
Revert "fix bootstrap error"
This reverts commit f94053dd3a
See merge request !1
This commit is contained in:
commit
923fa39288
|
@ -948,10 +948,9 @@ if (typeof jQuery === 'undefined') {
|
|||
Modal.prototype.show = function (_relatedTarget) {
|
||||
var that = this
|
||||
var e = $.Event('show.bs.modal', { relatedTarget: _relatedTarget })
|
||||
var e_old = $.Event('shown', { relatedTarget: _relatedTarget })
|
||||
|
||||
this.$element.trigger(e)
|
||||
this.$element.trigger(e_old)
|
||||
|
||||
if (this.isShown || e.isDefaultPrevented()) return
|
||||
|
||||
this.isShown = true
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue