1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-09 15:16:51 +02:00

add zindex option for tooltips/popovers and fix modal zindex doc example

This commit is contained in:
Jacob Thornton
2012-01-27 21:36:58 -08:00
parent 15d3a4797f
commit 0255f47eb3
4 changed files with 38 additions and 3 deletions

View File

@@ -145,6 +145,9 @@
break
}
debugger
if (this.options['z-index']) tp['z-index'] = this.options['z-index']
$tip
.css(tp)
.addClass(placement)
@@ -265,6 +268,7 @@
, trigger: 'hover'
, title: ''
, template: '<div class="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>'
, 'z-index': false
}
}( window.jQuery )