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

Commit

Permalink
Small fix to last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Craga89 committed Jan 31, 2011
1 parent cc53e1a commit 3835fe4
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 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: Fri Jan 28 12:23:15 2011 +0000
* Date: Mon Jan 31 17:13:43 2011 +0000
*/

/* 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: Fri Jan 28 12:23:15 2011 +0000
* Date: Mon Jan 31 17:13:43 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 @@ -207,7 +207,7 @@ function QTip(target, options, id, attr)
parentIsContainer = offsetParent === container;

// Account for fixed containers
addScroll = offsetParent === docBody && type === 'fixed' ? addScroll = TRUE : !$.fn.qtip.plugins.iOS;
addScroll = offsetParent === docBody && type === 'fixed' ? TRUE : !$.fn.qtip.plugins.iOS;

pos.left += elem.offsetLeft - (addScroll && offsetParent && !parentIsContainer ? offsetParent.scrollLeft : 0);
pos.top += elem.offsetTop - (addScroll && offsetParent && !parentIsContainer ? offsetParent.scrollTop : 0);
Expand Down
2 changes: 1 addition & 1 deletion dist/jquery.qtip.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/jquery.qtip.pack.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/core.js
Expand Up @@ -166,7 +166,7 @@ function QTip(target, options, id, attr)
parentIsContainer = offsetParent === container;

// Account for fixed containers
addScroll = offsetParent === docBody && type === 'fixed' ? addScroll = TRUE : !$.fn.qtip.plugins.iOS;
addScroll = offsetParent === docBody && type === 'fixed' ? TRUE : !$.fn.qtip.plugins.iOS;

pos.left += elem.offsetLeft - (addScroll && offsetParent && !parentIsContainer ? offsetParent.scrollLeft : 0);
pos.top += elem.offsetTop - (addScroll && offsetParent && !parentIsContainer ? offsetParent.scrollTop : 0);
Expand Down

0 comments on commit 3835fe4

Please sign in to comment.