A cup of tea
A cup of tea

Reputation: 402

"javascript:;" tooltip when using gwt widget

I'm using the gwt UlTabBar (com.google.gwt.user.client.ui.UlTabBar). When mouse over this tabbar, a small tooltip in left bottom corner of browser with "javascript:;" label occurs. Is there any way to disable this tooltip? (it doesn't look nice) Thank you!

Upvotes: 0

Views: 102

Answers (1)

Thomas Broyer
Thomas Broyer

Reputation: 64541

I'm reading between the lines here but:

  • you are using Chrome, and what you see is the target of a link
  • TabBar doesn't use links by default, so it means you're putting those links inside the tabs
  • javascript:; is generated either by an Anchor with no href, or an Hyperlink without target history token.

In any case, a link without target is by definition not a link. Don't use a link if you mean something else.

Upvotes: 2

Related Questions