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

Commit

Permalink
Addded additional pageX check to 'mouse' repositioning
Browse files Browse the repository at this point in the history
  • Loading branch information
Craga89 committed Nov 30, 2010
1 parent f879b6c commit 0199318
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: Tue Nov 30 03:53:34 2010 +0000
* Date: Tue Nov 30 03:56:37 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 03:53:34 2010 +0000
* Date: Tue Nov 30 03:56:37 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 @@ -1085,7 +1085,7 @@ function QTip(target, options, id)
at = { x: 'left', y: 'top' };

// Use cached event if one isn't available for positioning
event = posOptions.adjust.mouse || !event ? $.extend({}, $.fn.qtip.mouse) : event;
event = posOptions.adjust.mouse || !event || !event.pageX ? $.extend({}, $.fn.qtip.mouse) : event;
position = { top: event.pageY, left: event.pageX };
}
else {
Expand Down
8 changes: 4 additions & 4 deletions dist/jquery.qtip.min.js

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

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/core.js
Expand Up @@ -1060,7 +1060,7 @@ function QTip(target, options, id)
at = { x: 'left', y: 'top' };

// Use cached event if one isn't available for positioning
event = posOptions.adjust.mouse || !event ? $.extend({}, $.fn.qtip.mouse) : event;
event = posOptions.adjust.mouse || !event || !event.pageX ? $.extend({}, $.fn.qtip.mouse) : event;
position = { top: event.pageY, left: event.pageX };
}
else {
Expand Down

0 comments on commit 0199318

Please sign in to comment.