Side navigation
#5777 closed enhancement (invalid)
Opened January 09, 2010 01:13AM UTC
Closed January 09, 2010 03:34AM UTC
Last modified January 09, 2010 11:57AM UTC
[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
Attachments (0)
Change History (2)
Changed January 09, 2010 03:34AM UTC by comment:1
resolution: | → invalid |
---|---|
status: | new → closed |
Changed January 09, 2010 11:57AM UTC by comment:2
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".
This isn't a jQuery core bug. It would be better to ask this on the jQuery Google group.