desandro/masonry — pull request #253 by alexdong (2012-09-23 09:46:35+00:00)
Title: Safe `this.offset` initialization code. 

Sometime the `this.element.css('padding-top')` will return `"",` which ends up with a `this.offset` with `{x: NaN, y: NaN}`. This patch adds a "safe default value".

This problem was found in Chrome latest revision but doesn't show up in Firefox. It will end up with overlapping "bricks".

Hope this helps,
Alex