Bootstrap 2 changes:

- twipsy() to tooltip() and above to top
- .tabs to .nav-tabs
This commit is contained in:
Eric Miller
2012-02-29 22:28:27 -05:00
parent 6c59c7db36
commit bdc4406d50
6 changed files with 23 additions and 23 deletions

View File

@@ -122,7 +122,7 @@ if (window.History && window.History.enabled) {
$(document).ready(function() {
// activate tooltips
$("[rel=twipsy]").twipsy({live: true});
$("[rel=tooltip]").tooltip({live: true});
// bind submission to the navbar go icon
$('#navsearchgo').click(function() {
@@ -168,7 +168,7 @@ $(document).ready(function() {
// but warning! will probably not work for dropdowns in tabs
$('#search_results li').delegate('a', 'click', function(event) {
event.preventDefault();
var from_li = $('.tabs').find('> .active').first();
var from_li = $('.nav-tabs').find('> .active').first();
var to_li = $(this).parent('li')
from_li.toggleClass('active');