2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-05 16:42:29 +03: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
+4
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 )