diff options
| author | Jacob Thornton <[email protected]> | 2012-01-27 21:36:58 -0800 |
|---|---|---|
| committer | Jacob Thornton <[email protected]> | 2012-01-27 21:36:58 -0800 |
| commit | 0255f47eb3f4967851d014a9ef6fdf49a37dc548 (patch) | |
| tree | ab568ec377ece3e9b4bf1e58867d21aa3ea4d7cf /js | |
| parent | 15d3a4797f3435d1531804369df87fa4e574b874 (diff) | |
| download | bootstrap-0255f47eb3f4967851d014a9ef6fdf49a37dc548.tar.xz bootstrap-0255f47eb3f4967851d014a9ef6fdf49a37dc548.zip | |
add zindex option for tooltips/popovers and fix modal zindex doc example
Diffstat (limited to 'js')
| -rw-r--r-- | js/bootstrap-tooltip.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/js/bootstrap-tooltip.js b/js/bootstrap-tooltip.js index 21f2311fb..65f8895aa 100644 --- a/js/bootstrap-tooltip.js +++ b/js/bootstrap-tooltip.js @@ -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 ) |
