drewwilson/TipTip — pull request #15 by jamiefdhurst (2012-10-02 09:29:14+00:00)
Title: Problems with width/height calculations

When implementing Tiptip in my client's site, the element was appearing right in the top-left corner, and this was being caused by the margin calculation failing.

I debugged and traced it back to the outerWidth() and outerHeight() calls, which were returning elements instead of values. Forcing them to calculate the margin too (using the parameter) gets rid of this bug.