Skip to content

Commit

Permalink
.set() will now pass last cached event to reposition if possible
Browse files Browse the repository at this point in the history
  • Loading branch information
Craga89 committed Apr 12, 2011
1 parent eb99c20 commit 15e47e4
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[qTip2](http://craigsworks.com/projects/qtip2/) - Pretty powerful tooltips
# [qTip2](http://craigsworks.com/projects/qtip2/) - Pretty powerful tooltips
================================

Pre-compiled scripts
Expand Down
4 changes: 2 additions & 2 deletions dist/jquery.qtip.basic.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* http://en.wikipedia.org/wiki/MIT_License
* http://en.wikipedia.org/wiki/GNU_General_Public_License
*
* Date: Tue Apr 12 01:34:38 2011 +0100
* Date: Tue Apr 12 02:19:46 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 @@ -849,7 +849,7 @@ function QTip(target, options, id, attr)

// Update position / redraw if needed
if(tooltip.is(':visible') && self.rendered) {
if(reposition) { self.reposition(); }
if(reposition) { self.reposition(cache.event); }
if(redraw) { self.redraw(); }
}

Expand Down
2 changes: 1 addition & 1 deletion dist/jquery.qtip.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* http://en.wikipedia.org/wiki/MIT_License
* http://en.wikipedia.org/wiki/GNU_General_Public_License
*
* Date: Tue Apr 12 01:34:38 2011 +0100
* Date: Tue Apr 12 02:19:46 2011 +0100
*/

/* Fluid class for determining actual width in IE */
Expand Down
4 changes: 2 additions & 2 deletions dist/jquery.qtip.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* http://en.wikipedia.org/wiki/MIT_License
* http://en.wikipedia.org/wiki/GNU_General_Public_License
*
* Date: Tue Apr 12 01:34:38 2011 +0100
* Date: Tue Apr 12 02:19:46 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 @@ -849,7 +849,7 @@ function QTip(target, options, id, attr)

// Update position / redraw if needed
if(tooltip.is(':visible') && self.rendered) {
if(reposition) { self.reposition(); }
if(reposition) { self.reposition(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.

2 changes: 1 addition & 1 deletion src/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -807,7 +807,7 @@ function QTip(target, options, id, attr)

// Update position / redraw if needed
if(tooltip.is(':visible') && self.rendered) {
if(reposition) { self.reposition(); }
if(reposition) { self.reposition(cache.event); }
if(redraw) { self.redraw(); }
}

Expand Down

0 comments on commit 15e47e4

Please sign in to comment.