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.
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.