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 issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Craga89 committed Apr 14, 2011
1 parent 488d484 commit b5c6938
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 19 deletions.
7 changes: 2 additions & 5 deletions dist/jquery.qtip.basic.js
Expand Up @@ -9,7 +9,7 @@
* http://en.wikipedia.org/wiki/MIT_License
* http://en.wikipedia.org/wiki/GNU_General_Public_License
*
* Date: Wed Apr 13 23:56:53 2011 +0100
* Date: Thu Apr 14 19:39:40 2011 +0100
*/

"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 @@ -850,10 +850,7 @@ function QTip(target, options, id, attr)
// Update position / redraw if needed
if(tooltip.is(':visible') && self.rendered) {
if(reposition) {
self.reposition(
options.position.target === 'mouse' && options.position.adjust.mouse ?
NULL : cache.event
);
self.reposition( options.position.target === 'mouse' ? NULL : cache.event );
}
if(redraw) { self.redraw(); }
}
Expand Down
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: Wed Apr 13 23:56:53 2011 +0100
* Date: Thu Apr 14 19:39:40 2011 +0100
*/

/* Fluid class for determining actual width in IE */
Expand Down
7 changes: 2 additions & 5 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: Wed Apr 13 23:56:53 2011 +0100
* Date: Thu Apr 14 19:39:40 2011 +0100
*/

"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 @@ -850,10 +850,7 @@ function QTip(target, options, id, attr)
// Update position / redraw if needed
if(tooltip.is(':visible') && self.rendered) {
if(reposition) {
self.reposition(
options.position.target === 'mouse' && options.position.adjust.mouse ?
NULL : cache.event
);
self.reposition( options.position.target === 'mouse' ? NULL : cache.event );
}
if(redraw) { self.redraw(); }
}
Expand Down
4 changes: 2 additions & 2 deletions dist/jquery.qtip.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/jquery.qtip.pack.js

Large diffs are not rendered by default.

5 changes: 1 addition & 4 deletions src/core.js
Expand Up @@ -808,10 +808,7 @@ function QTip(target, options, id, attr)
// Update position / redraw if needed
if(tooltip.is(':visible') && self.rendered) {
if(reposition) {
self.reposition(
options.position.target === 'mouse' && options.position.adjust.mouse ?
NULL : cache.event
);
self.reposition( options.position.target === 'mouse' ? NULL : cache.event );
}
if(redraw) { self.redraw(); }
}
Expand Down

0 comments on commit b5c6938

Please sign in to comment.