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

Commit

Permalink
Fixed another minor positioning bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Craga89 committed Dec 1, 2010
1 parent b0dcefd commit 6898359
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 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: Tue Nov 30 21:47:27 2010 +0000
* Date: Tue Nov 30 23:08:22 2010 +0000
*/

.ui-tooltip-accessible{
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: Tue Nov 30 21:47:27 2010 +0000
* Date: Tue Nov 30 23:08:22 2010 +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 @@ -1034,7 +1034,7 @@ function QTip(target, options, id)
adjustX = -2 * posOptions.adjust.x,
overflowLeft = viewportScroll - posLeft,
overflowRight = posLeft + elemWidth - viewport.width - viewportScroll,
offset = myWidth - adjustX - (my.precedance === 'y' ? atWidth : 0);
offset = myWidth - adjustX - (my.precedance === 'x' ? atWidth : 0);

if(overflowLeft > 0) {
position.left -= offset;
Expand Down
4 changes: 2 additions & 2 deletions dist/jquery.qtip.min.js

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

0 comments on commit 6898359

Please sign in to comment.