Fix tippy html issue

pull/1/head
yflory 5 years ago
parent 664db244f2
commit 60c19e0746

@ -807,6 +807,7 @@ define([
UI.createHelper = function (href, text) { UI.createHelper = function (href, text) {
var q = h('a.fa.fa-question-circle', { var q = h('a.fa.fa-question-circle', {
'data-cptippy-html': true,
style: 'text-decoration: none !important;', style: 'text-decoration: none !important;',
title: text, title: text,
href: href, href: href,

@ -283,13 +283,13 @@ define([
var onDisconnect = function (noAlert) { var onDisconnect = function (noAlert) {
setEditable(false); setEditable(false);
if (drive.refresh) { drive.refresh(); } if (drive.refresh) { drive.refresh(); }
APP.toolbar.failed(); toolbar.failed();
if (!noAlert) { UIElements.disconnectAlert(); } if (!noAlert) { UIElements.disconnectAlert(); }
}; };
var onReconnect = function () { var onReconnect = function () {
setEditable(true); setEditable(true);
if (drive.refresh) { drive.refresh(); } if (drive.refresh) { drive.refresh(); }
APP.toolbar.reconnecting(); toolbar.reconnecting();
UIElements.reconnectAlert(); UIElements.reconnectAlert();
}; };

Loading…
Cancel
Save