mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +01:00
set title on et2-image for both bootstrap-image via css-class and embedded img tag
This commit is contained in:
parent
31cf77a0c4
commit
5b797f9cf4
@ -164,6 +164,9 @@ export class Et2Image extends Et2Widget(LitElement) implements et2_IDetachedDOM
|
||||
// Hide if no valid image
|
||||
return html``;
|
||||
}
|
||||
// set title on et2-image for both bootstrap-image via css-class and embedded img tag
|
||||
this.title = this.statustext || this.label || "";
|
||||
|
||||
const bootstrap = url.match(/\/node_modules\/bootstrap-icons\/icons\/([^.]+)\.svg/);
|
||||
if (bootstrap)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user