Skip to content

Commit

Permalink
General cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
baphled committed Jun 21, 2010
1 parent bbeef66 commit 1ce6595
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions public/javascripts/scrollingHoverable.js
Expand Up @@ -15,10 +15,9 @@ $.fn.scrollingHoverable = function(options) {
var $sidebarList = $(opts.hoverListElement),
sidebarPostfix = $('div#sidebar > ul').attr('id').split('_'),
hoverItem = 'li#' + $(this).attr('id') + '_' + sidebarPostfix[1];

$lists = $('ul.items-list li');

$currentList = $(this).parent();
$lists.removeClass('highlighted');
$('ul.items-list li div').removeClass('highlighted');
$currentList.addClass('highlighted');

var setHoverPosition = function() {
Expand Down

0 comments on commit 1ce6595

Please sign in to comment.