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

Commit

Permalink
Fixed mouse positioning problem caused by last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Craga89 committed Aug 10, 2010
1 parent 64204f0 commit 02040bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core.js
Expand Up @@ -826,7 +826,7 @@ function QTip(target, options, id)
callback = $.Event('tooltipmove'),
adjust = {
left: function(posLeft) {
var targetLeft = target.offset().left,
var targetLeft = target === 'mouse' ? event.pageX : target.offset().left,
winScroll = $(window).scrollLeft(),
winWidth = $(window).width(),
myOffset = my.x === 'left' ? -elemWidth : my.x === 'right' ? elemWidth : elemWidth / 2,
Expand Down

0 comments on commit 02040bc

Please sign in to comment.