mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-11-10 17:13:38 +08:00
deprecated jQuery.delegate() to jQuery.on()
This commit is contained in:
parent
281a5df732
commit
a12a3815f9
2 changed files with 2 additions and 2 deletions
2
vendors/bootstrap/js/bootstrap.js
vendored
2
vendors/bootstrap/js/bootstrap.js
vendored
|
@ -831,7 +831,7 @@
|
||||||
var Modal = function (element, options) {
|
var Modal = function (element, options) {
|
||||||
this.options = options
|
this.options = options
|
||||||
this.$element = $(element)
|
this.$element = $(element)
|
||||||
.delegate('[data-dismiss="modal"]', 'click.dismiss.modal', $.proxy(this.hide, this))
|
.on('click.dismiss.modal', '[data-dismiss="modal"]', $.proxy(this.hide, this))
|
||||||
this.options.remote && this.$element.find('.modal-body').load(this.options.remote)
|
this.options.remote && this.$element.find('.modal-body').load(this.options.remote)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
2
vendors/bootstrap/js/bootstrap.min.js
vendored
2
vendors/bootstrap/js/bootstrap.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue