Permalink
Browse files

Fix search result click handler for Python that broke in previous com…

…mit.
  • Loading branch information...
1 parent 4ff9c31 commit e9eb7d7860bc21d86b5d168128913a6aa11c7f26 @yonran yonran committed Apr 11, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 static/js/views/pagetocbar.js
@@ -53,7 +53,7 @@ define([
this.$searchResults.scrollTop(this.$searchResults.scrollTop() + topVal - 60);
// Set url
- var href = $elt.attr('href'); // not HTMLLinkElement.href, which is absolute
+ var href = clicked.attr('href'); // not HTMLLinkElement.href, which is absolute
Backbone.history.navigate(href, {trigger: false});
e.preventDefault();

0 comments on commit e9eb7d7

Please sign in to comment.