1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-10-04 09:11:37 +02:00

update all to new on api + add animation support to tabs

This commit is contained in:
Jacob Thornton
2011-12-20 19:37:41 -08:00
parent 1ef5fa7d6b
commit 0980a33b47
10 changed files with 110 additions and 78 deletions

View File

@@ -167,7 +167,7 @@
}
$.support.transition && this.$tip.hasClass('fade') ?
$tip.bind( $.support.transition.end, removeElement) :
$tip.on($.support.transition.end, removeElement) :
removeElement()
}
@@ -196,7 +196,7 @@
}
, tip: function () {
return this.$tip = this.$tip || $('<div class="twipsy" />').html(this.options.template)
return this.$tip = this.$tip || $(this.options.template)
}
, validate: function () {
@@ -256,7 +256,7 @@
, placement: 'above'
, trigger: 'hover'
, title: ''
, template: '<div class="twipsy-arrow"></div><div class="twipsy-inner"></div>'
, template: '<div class="twipsy"><div class="twipsy-arrow"></div><div class="twipsy-inner"></div></div>'
}
}( window.jQuery )