Permalink
Browse files

Unset sourceParent height in all cases

  • Loading branch information...
1 parent 1f29f1b commit 89eef484e7a4a925bf8474f489722f2bdefbd8c4 @cjc committed Nov 18, 2012
Showing with 2 additions and 6 deletions.
  1. +2 −6 jquery.quicksand.js
View
8 jquery.quicksand.js
@@ -81,12 +81,8 @@ Github site: http://github.com/razorjack/quicksand
$sourceParent.prepend($dest.contents());
$toDelete.remove();
- if (adjustHeightOnCallback) {
- $sourceParent.css('height', destHeight);
- } else {
- // if no specific height supplied for oncallback, clear the height from $sourceParent (to prevent restricting the height in responsive pages)
- $sourceParent.css('height','');
- }
+ // clear the height from $sourceParent (to prevent restricting the height in responsive pages)
+ $sourceParent.css('height','');
options.enhancement($sourceParent); // Perform custom visual enhancements on a newly replaced collection
if (typeof callbackFunction == 'function') {
callbackFunction.call(this);

0 comments on commit 89eef48

Please sign in to comment.