diff options
author | Jacob Thornton <jacobthornton@gmail.com> | 2012-01-28 09:36:58 +0400 |
---|---|---|
committer | Jacob Thornton <jacobthornton@gmail.com> | 2012-01-28 09:36:58 +0400 |
commit | 0255f47eb3f4967851d014a9ef6fdf49a37dc548 (patch) | |
tree | ab568ec377ece3e9b4bf1e58867d21aa3ea4d7cf /js | |
parent | 15d3a4797f3435d1531804369df87fa4e574b874 (diff) |
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 21f2311fb2..65f8895aa5 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 ) |