error in //Adjust for border radius code
Bug #528600 reported by
patricia
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
jquery (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
Bug Description
In rev 25 on line 1098 I am getting :
"newPosition is undefined" in Firefox and
"undefined is null or not an object" in IE.
using jquery 1.4.2
when i comment out this code, it goes away, and the tool tips seem to be positioned fine.
// Adjust for border radius
if(
if(my.x === 'left') { newPosition.left -= self.options.
else if(my.x === 'right') { newPosition.left += self.options.
if(my.y === 'top') { newPosition.top -= self.options.
else if(my.y === 'bottom') { newPosition.top += self.options.
}
Changed in qtip: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I countered this bug too. It also occurs with jQuery 1.4.1. Here's a patch which fixes the problem; it appears that the author renamed 'newPosition' to 'position' and forgot to update that piece of code.