We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Each showing Tooltip are bind events: tooltip.js /**
/**
@license jQuery Tools 1.2.4 Tooltip - UI essentials NO COPYRIGHTS OR LICENSES. DO WHAT YOU LIKE. http://flowplayer.org/tools/tooltip/ * Since: November 2008 Date: Sun Aug 15 08:16:31 2010 +0000 */ (function($) { // static constructs $.tools = $.tools || {version: '1.2.4'}; //... function Tooltip(trigger, conf) { $.extend(self, { //... show: function(e) { //... // tooltip events var event = conf.events.tooltip.split(/,\s*/); tip.bind(event[0], function() { clearTimeout(timer); clearTimeout(pretimer); }); if (event[1] && !trigger.is("input:not(:checkbox, :radio), textarea")) { tip.bind(event[1], function(e) { // being moved to the trigger element if (e.relatedTarget != trigger[0]) { trigger.trigger(evt[1].split(" ")[0]); } }); } return self; }, //... } //... }) (jQuery); First showing: tooltip.getTip().data("events")["mouseenter"].length is 1. Tenth showing: tooltip.getTip().data("events")["mouseenter"].length is 10. N showing: tooltip.getTip().data("events")["mouseenter"].length is N. Need to unbind previously-attached events.
(function($) { // static constructs $.tools = $.tools || {version: '1.2.4'}; //... function Tooltip(trigger, conf) {
$.extend(self, {
//... show: function(e) { //... // tooltip events var event = conf.events.tooltip.split(/,\s*/);
tip.bind(event[0], function() { clearTimeout(timer); clearTimeout(pretimer); }); if (event[1] && !trigger.is("input:not(:checkbox, :radio), textarea")) { tip.bind(event[1], function(e) { // being moved to the trigger element if (e.relatedTarget != trigger[0]) { trigger.trigger(evt[1].split(" ")[0]); } }); } return self; },
//... } //...
}) (jQuery);
First showing: tooltip.getTip().data("events")["mouseenter"].length is 1. Tenth showing: tooltip.getTip().data("events")["mouseenter"].length is 10. N showing: tooltip.getTip().data("events")["mouseenter"].length is N. Need to unbind previously-attached events.
First showing: tooltip.getTip().data("events")["mouseenter"].length is 1.
Tenth showing: tooltip.getTip().data("events")["mouseenter"].length is 10.
N showing: tooltip.getTip().data("events")["mouseenter"].length is N.
Need to unbind previously-attached events.
The text was updated successfully, but these errors were encountered:
This is now fixed. here is the commit:
http://github.com/jquerytools/jquerytools/commit/69d52693ee27b06f5effa5faa10e446b08fdf609
and here is the fixed tooltip.js
http://github.com/jquerytools/jquerytools/raw/69d52693ee27b06f5effa5faa10e446b08fdf609/src/tooltip/tooltip.js
THANKS!
Sorry, something went wrong.
OK, it works. Thanks. Glad to cooperate.
No branches or pull requests
Each showing Tooltip are bind events:
tooltip.js
/**
*
*/
(function($) {
// static constructs
$.tools = $.tools || {version: '1.2.4'};
//...
function Tooltip(trigger, conf) {
//...
show: function(e) {
//...
// tooltip events
var event = conf.events.tooltip.split(/,\s*/);
//...
}
//...
}) (jQuery);
First showing:
tooltip.getTip().data("events")["mouseenter"].length is 1.
Tenth showing:
tooltip.getTip().data("events")["mouseenter"].length is 10.
N showing:
tooltip.getTip().data("events")["mouseenter"].length is N.
Need to unbind previously-attached events.
The text was updated successfully, but these errors were encountered: