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

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed problem with mouse positioning when using adjust.mouse = false
  • Loading branch information
Craga89 committed Nov 29, 2010
1 parent cfed4a4 commit e816b91
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 21 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: Mon Nov 29 04:41:03 2010 +0000
* Date: Mon Nov 29 04:43:46 2010 +0000
*/

.ui-tooltip-accessible{
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: Mon Nov 29 04:41:03 2010 +0000
* Date: Mon Nov 29 04:43:46 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 @@ -457,7 +457,7 @@ function QTip(target, options, id)
clearTimeout(self.timers.hide);

// Start show timer
var callback = function(){ self.show(options.position.target !== 'mouse' ? event : NULL); };
var callback = function(){ self.show(event); };
if(options.show.delay > 0) {
self.timers.show = setTimeout(callback, options.show.delay);
}
Expand Down Expand Up @@ -1075,7 +1075,7 @@ function QTip(target, options, id)
at = { x: 'left', y: 'top' };

// Use cached event if one isn't available for positioning
event = $.extend({}, $.fn.qtip.mouse);
event = posOptions.adjust.mouse || !event ? $.extend({}, $.fn.qtip.mouse) : event;
position = { top: event.pageY, left: event.pageX };
}
else {
Expand Down
26 changes: 13 additions & 13 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 e816b91

Please sign in to comment.