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

Commit

Permalink
Added check to see if position object is actually a jquery object or not
Browse files Browse the repository at this point in the history
  • Loading branch information
Craga89 committed Oct 3, 2010
1 parent 90c5104 commit b2353cb
Show file tree
Hide file tree
Showing 5 changed files with 69 additions and 69 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: Sun Oct 3 16:45:23 2010 +0100
* Date: Sun Oct 3 17:07:27 2010 +0100
*/

.ui-tooltip-accessible{
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: Sun Oct 3 16:45:23 2010 +0100
* Date: Sun Oct 3 17:07:27 2010 +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 @@ -1007,7 +1007,7 @@ function QTip(target, options, id)
event = $.extend({}, $.fn.qtip.mouse);
position = { top: event.pageY, left: event.pageX };
}
else {
else if(target.jquery){
// Check if event targetting is being used
if(target === 'event') {
if(event && event.target && event.type !== 'scroll' && event.type !== 'resize') {
Expand Down

0 comments on commit b2353cb

Please sign in to comment.