mirror of
https://github.com/getformwork/formwork.git
synced 2025-01-17 13:38:22 +01:00
Use tooltip instead of title
This commit is contained in:
parent
0bb1b14107
commit
0b67e7b59a
@ -7,7 +7,7 @@ function createButton(icon: string, title: string) {
|
||||
const btn = document.createElement("button");
|
||||
btn.type = "button";
|
||||
btn.className = `button toolbar-button`;
|
||||
btn.title = title;
|
||||
btn.dataset.tooltip = title;
|
||||
passIcon(icon, (data) => (btn.innerHTML = data));
|
||||
return btn;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user