Permalink
Browse files

remove active class from correct element

  • Loading branch information...
1 parent b9d89fe commit 01cf108e1f947f2e90fb61ebd5b4750516c46f9b Karl Seguin committed Oct 31, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 public/app.js
View
@@ -20,7 +20,7 @@ $(document).ready(function() {
if ($active != null) {
$active.children('.desc').hide();
- $active.parent().removeClass('active');
+ $active.removeClass('active');
var $previous = $active;
$active = null;
if ($previous.attr('data-url') == $parent.attr('data-url')) { return; }

0 comments on commit 01cf108

Please sign in to comment.