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:
4
js/bootstrap-tooltip.js
vendored
4
js/bootstrap-tooltip.js
vendored
@@ -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 )
|
||||
|
Reference in New Issue
Block a user