Permalink
Browse files

* Fix behavior when adjustHeight and/or adjustWidth is set to false

  • Loading branch information...
1 parent 248de5e commit 6bf7beaf875f14fffec8432b5e2b8b78d3db6f74 @arlm arlm committed Oct 29, 2012
Showing with 8 additions and 0 deletions.
  1. +8 −0 jquery.quicksand.js
View
@@ -134,6 +134,14 @@ Github site: http://github.com/razorjack/quicksand
callbackFunction.call(this);
}
}
+
+ if (false === options.adjustHeight) {
+ $sourceParent.css('height', 'auto');
+ }
+
+ if (false === options.adjustWidth) {
+ $sourceParent.css('width', 'auto');
+ }
};
// Position: relative situations

0 comments on commit 6bf7bea

Please sign in to comment.