UI: Add title attribute (popups) to icon elements

This commit is contained in:
Max Berger
2026-03-29 22:04:03 +02:00
parent 3ee679e2a8
commit 1921c0c8eb
3 changed files with 12 additions and 7 deletions

View File

@@ -132,7 +132,9 @@ export class IncomingSharingScene {
let shown = share.HiddenByUser !== null ? !share.HiddenByUser : true;
enabled_cb.checked = enabled;
enabled_cb.setAttribute("title", "Enabled");
shown_cb.checked = shown;
shown_cb.setAttribute("title", "Shown");
shown_cb.disabled = !enabled;
enabled_cb.onchange = () => { this._toggle_share(share, node); };