diff --git a/src/public/app/widgets/button_widget.js b/src/public/app/widgets/button_widget.js index 6c567cc37..83ac19f41 100644 --- a/src/public/app/widgets/button_widget.js +++ b/src/public/app/widgets/button_widget.js @@ -2,6 +2,8 @@ import BasicWidget from "./basic_widget.js"; const TPL = `
@@ -20,6 +22,11 @@ export default class ButtonWidget extends BasicWidget { this.$widget.on("click", () => this.triggerCommand(this.settings.command)); + this.$widget.tooltip({ + html: true, + title: () => this.settings.title + }); + super.doRender(); } diff --git a/src/public/app/widgets/sync_status.js b/src/public/app/widgets/sync_status.js index a0313b95c..feaa6cbd9 100644 --- a/src/public/app/widgets/sync_status.js +++ b/src/public/app/widgets/sync_status.js @@ -42,28 +42,34 @@ const TPL = `