Bug Tracker

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#5777 closed enhancement (invalid)

[tooltip] Empty Tooltip is also shown

Reported by: prdatur Owned by:
Priority: major Milestone: 1.4
Component: unfiled Version: 1.3
Keywords: tooltip empty content dont show disable Cc:
Blocked by: Blocking:

Description

I was worried about that the tooltip is displayed with a very small box if the content is empty. If you do not want that the Tooltip show up if content is empty. Add in the function handle(event) above the comment: show helper, either with timeout or on instant

following code:

dont show helper if helper body is empty

if($(helper.body).html() == "") {

return;

}

if you have a trim function, better to add this to the html() function.

best regards, Christian

Change History (2)

comment:1 Changed 10 years ago by dmethvin

Resolution: invalid
Status: newclosed

This isn't a jQuery core bug. It would be better to ask this on the jQuery Google group.

comment:2 Changed 10 years ago by prdatur

i know that it was not a jquery core bug, but developer of this plugin wrotes to post bugs/enhancements to this bugtracker, also it posted it into the category "enhanced" and not "bug".

Note: See TracTickets for help on using tickets.