diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-02-22 15:04:23 +0100 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-02-22 15:45:37 +0100 |
commit | 323dd310568447f3c63b8d9128c75a18a75c3527 (patch) | |
tree | 8296d451f9695be21e6a4b21f303cc04b28d96f2 /apps/files_external/js | |
parent | 1f3eef94609b728179fe29084939931ecbd94df0 (diff) | |
download | nextcloud-server-323dd310568447f3c63b8d9128c75a18a75c3527.tar.gz nextcloud-server-323dd310568447f3c63b8d9128c75a18a75c3527.zip |
Tooltip fix on status icon
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files_external/js')
-rw-r--r-- | apps/files_external/js/settings.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/apps/files_external/js/settings.js b/apps/files_external/js/settings.js index 7f56fd4bb73..b0f71c03245 100644 --- a/apps/files_external/js/settings.js +++ b/apps/files_external/js/settings.js @@ -1246,7 +1246,12 @@ MountConfigListView.prototype = _.extend({ default: $statusSpan.attr('class', 'error icon-error-white'); } - $statusSpan.attr('data-original-title', (typeof message === 'string') ? message : ''); + if (typeof message === 'string') { + $statusSpan.attr('title', message); + $statusSpan.tooltip(); + } else { + $statusSpan.tooltip('destroy'); + } }, /** |