mirror of
https://github.com/jasny/bootstrap.git
synced 2026-02-16 08:45:42 -05:00
clean up show logic
This commit is contained in:
1
examples/assets/js/bootstrap-modals.js
vendored
1
examples/assets/js/bootstrap-modals.js
vendored
@@ -65,6 +65,7 @@
|
||||
this.$element = $(this.settings.content)
|
||||
.delegate('.close', 'click', function (e) { e.preventDefault(); that.close() })
|
||||
.appendTo(document.body)
|
||||
.show()
|
||||
|
||||
setTimeout(function () {
|
||||
that.$element.addClass('open')
|
||||
|
||||
Reference in New Issue
Block a user