This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Anchor name should be the filter setting, not the class

  • Loading branch information...
acconrad committed Apr 23, 2012
1 parent 7a1dd67 commit 7dfd43470a055f5108ba3120d1bd5454e468d79b
Showing with 2 additions and 2 deletions.
  1. +2 −2 jquery.expander.js
View
@@ -42,9 +42,9 @@
currExpandSize = expandDiff < expandSize ? expandDiff : expandSize
if ($more.hasClass('expander-more'))
- $more.html('Show ' + currExpandSize + ' More').removeClass('hidden').attr('name', filterName)
+ $more.html('Show ' + currExpandSize + ' More').removeClass('hidden').attr('name', settings.filter)
else
- $this.after('<a href="#" name="' + filterName + '" class="expander-more">Show ' + currExpandSize + ' More</a>')
+ $this.after('<a href="#" name="' + settings.filter + '" class="expander-more">Show ' + currExpandSize + ' More</a>')
} else if (expandSize >= totalRows && $more.hasClass('expander-more')) {

0 comments on commit 7dfd434

Please sign in to comment.