mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-04 20:40:14 +01:00
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)
|
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