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

Commit

Permalink
Small fix to the hide.distance code
Browse files Browse the repository at this point in the history
  • Loading branch information
Craga89 committed Aug 1, 2011
1 parent 94ceb31 commit 64337d7
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 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 Jul 27 20:23:08 2011 +0100
* Date: Mon Aug 1 15:56:09 2011 +0100
*/

/*jslint browser: true, onevar: true, undef: true, nomen: true, bitwise: true, regexp: true, newcap: true, immed: true, strict: true */
Expand Down Expand Up @@ -579,7 +579,7 @@ function QTip(target, options, id, attr)
// Check if the tooltip hides when mouse is moved a certain distance
if('number' === typeof options.hide.distance) {
// Bind mousemove to target to detect distance difference
targets.show.bind('mousemove'+namespace, function(event) {
targets.show.add(tooltip).bind('mousemove'+namespace, function(event) {
var origin = cache.origin || {},
limit = options.hide.distance,
abs = Math.abs;
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 Jul 27 20:23:08 2011 +0100
* Date: Mon Aug 1 15:56:09 2011 +0100
*/

/* Core qTip styles */
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: Wed Jul 27 20:23:08 2011 +0100
* Date: Mon Aug 1 15:56:09 2011 +0100
*/

/*jslint browser: true, onevar: true, undef: true, nomen: true, bitwise: true, regexp: true, newcap: true, immed: true, strict: true */
Expand Down Expand Up @@ -579,7 +579,7 @@ function QTip(target, options, id, attr)
// Check if the tooltip hides when mouse is moved a certain distance
if('number' === typeof options.hide.distance) {
// Bind mousemove to target to detect distance difference
targets.show.bind('mousemove'+namespace, function(event) {
targets.show.add(tooltip).bind('mousemove'+namespace, function(event) {
var origin = cache.origin || {},
limit = options.hide.distance,
abs = Math.abs;
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.

2 changes: 1 addition & 1 deletion src/core.js
Expand Up @@ -516,7 +516,7 @@ function QTip(target, options, id, attr)
// Check if the tooltip hides when mouse is moved a certain distance
if('number' === typeof options.hide.distance) {
// Bind mousemove to target to detect distance difference
targets.show.bind('mousemove'+namespace, function(event) {
targets.show.add(tooltip).bind('mousemove'+namespace, function(event) {
var origin = cache.origin || {},
limit = options.hide.distance,
abs = Math.abs;
Expand Down

0 comments on commit 64337d7

Please sign in to comment.