From 21d3108ad5ba0524466d786c5817596e22c78227 Mon Sep 17 00:00:00 2001 From: yflory Date: Wed, 3 Jun 2020 16:26:59 +0200 Subject: [PATCH] Add missing tippy --- www/common/common-ui-elements.js | 1 + www/drive/inner.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/www/common/common-ui-elements.js b/www/common/common-ui-elements.js index 0caa39c92..278e8dda8 100644 --- a/www/common/common-ui-elements.js +++ b/www/common/common-ui-elements.js @@ -1658,6 +1658,7 @@ define([ var drawerCls = data.drawer === false ? '' : '.cp-toolbar-drawer-element'; var icon = data.icon || "fa-question"; button = $(h('button', { + title: data.tippy || '' //title: data.title || '', }, [ h('i.fa.' + icon), diff --git a/www/drive/inner.js b/www/drive/inner.js index a3caf7e84..5a7b86687 100644 --- a/www/drive/inner.js +++ b/www/drive/inner.js @@ -255,7 +255,7 @@ define([ text: '', name: 'burn-anon-drive', icon: 'fa-ban', - title: Messages.fm_burnThisDriveButton, + tippy: Messages.fm_burnThisDriveButton, drawer: false }).click(function () { UI.confirm(Messages.fm_burnThisDrive, function (yes) {