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

Commit

Permalink
Removed initial fly-in animation... annoying!
Browse files Browse the repository at this point in the history
  • Loading branch information
Craga89 committed May 27, 2011
1 parent 57d87c4 commit 6bb8bba
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 16 deletions.
9 changes: 5 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: Thu May 26 21:50:55 2011 +0100
* Date: Thu May 26 22:09:43 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 @@ -407,7 +407,7 @@ function QTip(target, options, id, attr)
clearTimeout(self.timers.hide);

// Start show timer
var callback = function(){ self.show(event); };
var callback = function(){ self.toggle(TRUE, event); };
if(options.show.delay > 0) {
self.timers.show = setTimeout(callback, options.show.delay);
}
Expand Down Expand Up @@ -661,7 +661,7 @@ function QTip(target, options, id, attr)
// Show checks
'^show.ready$': function() {
if(!self.rendered) { self.render(1); }
else { self.show(); }
else { self.toggle(TRUE); }
},

// Style checks
Expand Down Expand Up @@ -767,7 +767,7 @@ function QTip(target, options, id, attr)

// Update tooltip position and show tooltip if needed
if(options.show.ready || show) {
self.show(cache.event);
self.toggle(TRUE, cache.event);
}

next(); // Move on to next method in queue
Expand Down Expand Up @@ -1601,6 +1601,7 @@ QTIP.bind = function(opts, event)

// Cache the event data
api.cache.event = $.extend({}, event);
api.cache.target = event ? $(event.target) : [undefined];

// Start the event sequence
if(options.show.delay > 0) {
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: Thu May 26 21:50:55 2011 +0100
* Date: Thu May 26 22:09:43 2011 +0100
*/

/* Core qTip styles */
Expand Down
9 changes: 5 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: Thu May 26 21:50:55 2011 +0100
* Date: Thu May 26 22:09:43 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 @@ -407,7 +407,7 @@ function QTip(target, options, id, attr)
clearTimeout(self.timers.hide);

// Start show timer
var callback = function(){ self.show(event); };
var callback = function(){ self.toggle(TRUE, event); };
if(options.show.delay > 0) {
self.timers.show = setTimeout(callback, options.show.delay);
}
Expand Down Expand Up @@ -661,7 +661,7 @@ function QTip(target, options, id, attr)
// Show checks
'^show.ready$': function() {
if(!self.rendered) { self.render(1); }
else { self.show(); }
else { self.toggle(TRUE); }
},

// Style checks
Expand Down Expand Up @@ -767,7 +767,7 @@ function QTip(target, options, id, attr)

// Update tooltip position and show tooltip if needed
if(options.show.ready || show) {
self.show(cache.event);
self.toggle(TRUE, cache.event);
}

next(); // Move on to next method in queue
Expand Down Expand Up @@ -1601,6 +1601,7 @@ QTIP.bind = function(opts, event)

// Cache the event data
api.cache.event = $.extend({}, event);
api.cache.target = event ? $(event.target) : [undefined];

// Start the event sequence
if(options.show.delay > 0) {
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.

7 changes: 4 additions & 3 deletions src/core.js
Expand Up @@ -367,7 +367,7 @@ function QTip(target, options, id, attr)
clearTimeout(self.timers.hide);

// Start show timer
var callback = function(){ self.show(event); };
var callback = function(){ self.toggle(TRUE, event); };
if(options.show.delay > 0) {
self.timers.show = setTimeout(callback, options.show.delay);
}
Expand Down Expand Up @@ -621,7 +621,7 @@ function QTip(target, options, id, attr)
// Show checks
'^show.ready$': function() {
if(!self.rendered) { self.render(1); }
else { self.show(); }
else { self.toggle(TRUE); }
},

// Style checks
Expand Down Expand Up @@ -727,7 +727,7 @@ function QTip(target, options, id, attr)

// Update tooltip position and show tooltip if needed
if(options.show.ready || show) {
self.show(cache.event);
self.toggle(TRUE, cache.event);
}

next(); // Move on to next method in queue
Expand Down Expand Up @@ -1561,6 +1561,7 @@ QTIP.bind = function(opts, event)

// Cache the event data
api.cache.event = $.extend({}, event);
api.cache.target = event ? $(event.target) : [undefined];

// Start the event sequence
if(options.show.delay > 0) {
Expand Down

0 comments on commit 6bb8bba

Please sign in to comment.