Skip to content

Commit

Permalink
Fix up merge
Browse files Browse the repository at this point in the history
  • Loading branch information
jedfoster committed Feb 9, 2014
1 parent 925afa9 commit 0734585
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions readmore.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,10 @@
$(element).animate({"height": newHeight}, {duration: $this.options.speed, complete: function() {
// Fire afterToggle callback
$this.options.afterToggle(trigger, element, more);

$(trigger).replaceWith($($this.options[newLink]).on('click', function(event) { $this.toggleSlider(this, element, event) }).addClass('readmore-js-toggle'));
}
});

$(trigger).replaceWith($($this.options[newLink]).on('click', function(event) { $this.toggleSlider(this, element, event) }).addClass('readmore-js-toggle'));
},

destroy: function() {
Expand Down

0 comments on commit 0734585

Please sign in to comment.