#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 13 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 Changed 13 years ago by
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.