forked from extern/egroupware
Don't set image title if there's a tooltip, browser may show both
This commit is contained in:
parent
e88585c8e0
commit
09ac4244cb
@ -150,7 +150,12 @@ var et2_button = et2_baseWidget.extend([et2_IInput, et2_IDetachedDOM], {
|
||||
}
|
||||
if(this.image)
|
||||
{
|
||||
this.image.attr("alt", _value).attr("title",_value);
|
||||
this.image.attr("alt", _value);
|
||||
// Don't set title if there's a tooltip, browser may show both
|
||||
if(!this.options.statustext)
|
||||
{
|
||||
this.image.attr("title",_value);
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user