[IMP] jQuery tipTip: call options.content() with 'this' == element
Note: will maintain forked version here https://github.com/amigrave/TipTip bzr revid: fme@openerp.com-20111128140302-uukrsnpfneksr9co
This commit is contained in:
@@ -94,7 +94,7 @@
|
||||
|
||||
function active_tiptip(){
|
||||
opts.enter.call(this);
|
||||
var org_title = typeof opts.content === 'function' ? opts.content() : opts.content;
|
||||
var org_title = typeof opts.content === 'function' ? opts.content.call(org_elem, opts) : opts.content;
|
||||
org_title = org_title || org_elem.attr(opts.attribute);
|
||||
tiptip_content.html(org_title);
|
||||
tiptip_holder.hide().removeAttr("class").css("margin","0");
|
||||
|
||||
Reference in New Issue
Block a user