1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-25 21:09:06 +02:00

fix z-index issue with modals for popovers,tooltips,and dropdowns

This commit is contained in:
Jacob Thornton
2012-01-28 12:08:41 -08:00
parent c2c02d104c
commit 12d3c2fe74
7 changed files with 29 additions and 38 deletions

View File

@@ -44,6 +44,8 @@
if (this.isShown) return
$('body').addClass('modal-open')
this.isShown = true
this.$element.trigger('show')
@@ -77,6 +79,8 @@
var that = this
this.isShown = false
$('body').removeClass('modal-open')
escape.call(this)
this.$element