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

Commit

Permalink
Fixed core issue with jQuery 1.6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Craga89 committed Jul 12, 2011
1 parent 9518353 commit 677b825
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 16 deletions.
8 changes: 4 additions & 4 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: Fri Jul 8 11:45:24 2011 +0100
* Date: Fri Jul 8 11:46:16 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 @@ -500,9 +500,9 @@ function QTip(target, options, id, attr)
// Hide tooltips when leaving current window/frame (but not select/option elements)
if(options.hide.leave) {
targets.window.bind(
'mouse' + (options.hide.leave.indexOf('frame') > -1 ? 'out' : 'leave') + namespace,
'mouseleave' + namespace,
function(event) {
if(/select|option/.test(event.target) && !event.relatedTarget) { self.hide(event); }
//if(/select|option/.test(event.target) && !event.relatedTarget) { self.hide(event); }
}
);
}
Expand Down Expand Up @@ -685,7 +685,7 @@ function QTip(target, options, id, attr)

// Style checks
'^style.classes$': function(obj, o, v) {
$.attr(tooltip[0], 'class', uitooltip + ' qtip ui-helper-reset ' + v);
tooltip.attr('class', uitooltip + ' qtip ui-helper-reset ' + v);
},
'^style.widget|content.title': setWidget,

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: Fri Jul 8 11:45:24 2011 +0100
* Date: Fri Jul 8 11:46:16 2011 +0100
*/

/* Core qTip styles */
Expand Down
8 changes: 4 additions & 4 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: Fri Jul 8 11:45:24 2011 +0100
* Date: Fri Jul 8 11:46:16 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 @@ -500,9 +500,9 @@ function QTip(target, options, id, attr)
// Hide tooltips when leaving current window/frame (but not select/option elements)
if(options.hide.leave) {
targets.window.bind(
'mouse' + (options.hide.leave.indexOf('frame') > -1 ? 'out' : 'leave') + namespace,
'mouseleave' + namespace,
function(event) {
if(/select|option/.test(event.target) && !event.relatedTarget) { self.hide(event); }
//if(/select|option/.test(event.target) && !event.relatedTarget) { self.hide(event); }
}
);
}
Expand Down Expand Up @@ -685,7 +685,7 @@ function QTip(target, options, id, attr)

// Style checks
'^style.classes$': function(obj, o, v) {
$.attr(tooltip[0], 'class', uitooltip + ' qtip ui-helper-reset ' + v);
tooltip.attr('class', uitooltip + ' qtip ui-helper-reset ' + v);
},
'^style.widget|content.title': setWidget,

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.

6 changes: 3 additions & 3 deletions src/core.js
Expand Up @@ -447,9 +447,9 @@ function QTip(target, options, id, attr)
// Hide tooltips when leaving current window/frame (but not select/option elements)
if(options.hide.leave) {
targets.window.bind(
'mouse' + (options.hide.leave.indexOf('frame') > -1 ? 'out' : 'leave') + namespace,
'mouseleave' + namespace,
function(event) {
if(/select|option/.test(event.target) && !event.relatedTarget) { self.hide(event); }
//if(/select|option/.test(event.target) && !event.relatedTarget) { self.hide(event); }
}
);
}
Expand Down Expand Up @@ -632,7 +632,7 @@ function QTip(target, options, id, attr)

// Style checks
'^style.classes$': function(obj, o, v) {
$.attr(tooltip[0], 'class', uitooltip + ' qtip ui-helper-reset ' + v);
tooltip.attr('class', uitooltip + ' qtip ui-helper-reset ' + v);
},
'^style.widget|content.title': setWidget,

Expand Down

1 comment on commit 677b825

@kmiyashiro
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still getting a.compareDocumentPosition is not a function error on mouse move.

Please sign in to comment.