Skip to content
This repository has been archived by the owner on Jun 14, 2020. It is now read-only.

Commit

Permalink
Fixed issue with tip.offset not being applied when tip.border was 0
Browse files Browse the repository at this point in the history
  • Loading branch information
Craga89 committed Apr 13, 2011
1 parent 70b749f commit af8e45b
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion dist/jquery.qtip.basic.js
Expand Up @@ -9,7 +9,7 @@
* http://en.wikipedia.org/wiki/MIT_License
* http://en.wikipedia.org/wiki/GNU_General_Public_License
*
* Date: Wed Apr 13 20:43:04 2011 +0100
* Date: Wed Apr 13 23:25:19 2011 +0100
*/

"use strict"; // Enable ECMAScript "strict" operation for this function. See more: http://ejohn.org/blog/ecmascript-5-strict-mode-json-and-more/
Expand Down
2 changes: 1 addition & 1 deletion dist/jquery.qtip.css
Expand Up @@ -9,7 +9,7 @@
* http://en.wikipedia.org/wiki/MIT_License
* http://en.wikipedia.org/wiki/GNU_General_Public_License
*
* Date: Wed Apr 13 20:43:04 2011 +0100
* Date: Wed Apr 13 23:25:19 2011 +0100
*/

/* Fluid class for determining actual width in IE */
Expand Down
4 changes: 2 additions & 2 deletions dist/jquery.qtip.js
Expand Up @@ -9,7 +9,7 @@
* http://en.wikipedia.org/wiki/MIT_License
* http://en.wikipedia.org/wiki/GNU_General_Public_License
*
* Date: Wed Apr 13 20:43:04 2011 +0100
* Date: Wed Apr 13 23:25:19 2011 +0100
*/

"use strict"; // Enable ECMAScript "strict" operation for this function. See more: http://ejohn.org/blog/ecmascript-5-strict-mode-json-and-more/
Expand Down Expand Up @@ -2343,7 +2343,7 @@ function Tip(qTip, command)
b = borderWidth(corner, side, TRUE);
br = borderRadius(corner);

position[ side ] = i || !border ?
position[ side ] = i ?
borderWidth(corner, side) + (!i ? br : 0) :
offsets[i] + (br > b ? br : 0);
}
Expand Down
4 changes: 2 additions & 2 deletions dist/jquery.qtip.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/jquery.qtip.pack.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/tips.js
Expand Up @@ -470,7 +470,7 @@ function Tip(qTip, command)
b = borderWidth(corner, side, TRUE);
br = borderRadius(corner);

position[ side ] = i || !border ?
position[ side ] = i ?
borderWidth(corner, side) + (!i ? br : 0) :
offsets[i] + (br > b ? br : 0);
}
Expand Down

0 comments on commit af8e45b

Please sign in to comment.