This github issue https://github.com/twitter/bootstrap/issues/6921 describes what you are seeing. I am copying the information from the issue.
these lines in bootstrap-tooltip.js cause the problem:
, hide: function () {
var that = this
, $tip = this.tip()
, e = $.Event('hide') ///this line
this.$element.trigger(e) /// this line
if (e.isDefaultPrevented()) return //and this line
PrototypeJS adds methods to the Element prototype so when jQuery tries to trigger the hide()
method on an element it is actually firing the PrototypeJS hide()
method, which is equivalent to the jQuery hide()
method and sets the style of the element to display:none;
You have a few options
- remove the lines marked above in the js file
- rename the event to something else (not hide)
- use the PrototypeJS fork of BootStrap (currently works with 2.3.2)
http://github.com/jwestbrook/bootstrap-prototype
*****DISCLAIMER***
I am the developer that is currently porting the BootStrap JS components to PrototypeJS
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…