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

Commit

Permalink
position.container element with boredr will no longer position toolti…
Browse files Browse the repository at this point in the history
…ps incorrectly.
  • Loading branch information
Craga89 committed Feb 24, 2011
1 parent d26dc19 commit 93fbe4c
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
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 Feb 23 18:53:51 2011 +0000
* Date: Wed Feb 23 23:51:34 2011 +0000
*/

/* Fluid class for determining actual width in IE */
Expand Down
6 changes: 3 additions & 3 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 Feb 23 18:53:51 2011 +0000
* Date: Wed Feb 23 23:51:34 2011 +0000
*/

"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 @@ -1521,8 +1521,8 @@ PLUGINS = QTIP.plugins = {
if(parent[0] === docBody) { break; }
else if(parent.css('position') !== 'static') {
coffset = parent.position();
pos.left -= coffset.left;
pos.top -= coffset.top;
pos.left -= coffset.left + (parseInt(parent.css('borderLeftWidth'), 10) || 0);
pos.top -= coffset.top + (parseInt(parent.css('borderTopWidth'), 10) || 0);

deep++;
}
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.

4 changes: 2 additions & 2 deletions src/core.js
Expand Up @@ -1479,8 +1479,8 @@ PLUGINS = QTIP.plugins = {
if(parent[0] === docBody) { break; }
else if(parent.css('position') !== 'static') {
coffset = parent.position();
pos.left -= coffset.left;
pos.top -= coffset.top;
pos.left -= coffset.left + (parseInt(parent.css('borderLeftWidth'), 10) || 0);
pos.top -= coffset.top + (parseInt(parent.css('borderTopWidth'), 10) || 0);

deep++;
}
Expand Down

0 comments on commit 93fbe4c

Please sign in to comment.