From 60c19e0746c5c3c9bf8937de23a5ed4ae9677a55 Mon Sep 17 00:00:00 2001 From: yflory Date: Wed, 10 Jun 2020 12:50:18 +0200 Subject: [PATCH] Fix tippy html issue --- www/common/common-interface.js | 1 + www/drive/inner.js | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/www/common/common-interface.js b/www/common/common-interface.js index 6ddf0a320..4ed2f413e 100644 --- a/www/common/common-interface.js +++ b/www/common/common-interface.js @@ -807,6 +807,7 @@ define([ UI.createHelper = function (href, text) { var q = h('a.fa.fa-question-circle', { + 'data-cptippy-html': true, style: 'text-decoration: none !important;', title: text, href: href, diff --git a/www/drive/inner.js b/www/drive/inner.js index d5380b8d0..5d60e9a4c 100644 --- a/www/drive/inner.js +++ b/www/drive/inner.js @@ -283,13 +283,13 @@ define([ var onDisconnect = function (noAlert) { setEditable(false); if (drive.refresh) { drive.refresh(); } - APP.toolbar.failed(); + toolbar.failed(); if (!noAlert) { UIElements.disconnectAlert(); } }; var onReconnect = function () { setEditable(true); if (drive.refresh) { drive.refresh(); } - APP.toolbar.reconnecting(); + toolbar.reconnecting(); UIElements.reconnectAlert(); };