diff options
author | julia.kirschenheuter <julia.kirschenheuter@nextcloud.com> | 2023-03-29 10:37:47 +0200 |
---|---|---|
committer | julia.kirschenheuter <julia.kirschenheuter@nextcloud.com> | 2023-03-29 10:41:53 +0200 |
commit | ccf92975f340f4ac73c2ce10de04433ae29d5098 (patch) | |
tree | e50675c79a2255efe96891948731e4330fb6791a /core | |
parent | b129cea7da5cbcfc0ca5c2e2d3ca22a2d589e00a (diff) | |
download | nextcloud-server-ccf92975f340f4ac73c2ce10de04433ae29d5098.tar.gz nextcloud-server-ccf92975f340f4ac73c2ce10de04433ae29d5098.zip |
Replace custom tooltips with native ones of entries in contacts menu.
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
Diffstat (limited to 'core')
-rw-r--r-- | core/src/OC/contactsmenu.js | 5 | ||||
-rw-r--r-- | core/src/OC/contactsmenu/contact.handlebars | 4 |
2 files changed, 2 insertions, 7 deletions
diff --git a/core/src/OC/contactsmenu.js b/core/src/OC/contactsmenu.js index c5a9cfcef7a..f5a6f782db0 100644 --- a/core/src/OC/contactsmenu.js +++ b/core/src/OC/contactsmenu.js @@ -183,11 +183,6 @@ const ContactsListItemView = View.extend({ // Show placeholder if no avatar is available (avatar is rendered as img, not div) this.$('div.avatar').imageplaceholder(this._model.get('fullName')) - // Show tooltip for top action - this.$('.top-action').tooltip({ placement: 'left' }) - // Show tooltip for second action - this.$('.second-action').tooltip({ placement: 'left' }) - return this }, diff --git a/core/src/OC/contactsmenu/contact.handlebars b/core/src/OC/contactsmenu/contact.handlebars index 483cb3e93d5..c020cb797da 100644 --- a/core/src/OC/contactsmenu/contact.handlebars +++ b/core/src/OC/contactsmenu/contact.handlebars @@ -28,7 +28,7 @@ </a> {{/if}} {{#if contact.topAction}} - <a class="top-action" href="{{contact.topAction.hyperlink}}" title="{{contact.topAction.title}}"> + <a class="top-action" href="{{contact.topAction.hyperlink}}" title="{{contact.topAction.title}}" aria-label="{{contact.topAction.title}}"> <img src="{{contact.topAction.icon}}" alt="{{contact.topAction.title}}"> </a> {{/if}} @@ -49,7 +49,7 @@ </div> {{/if}} {{#if contact.hasTwoActions}} -<a class="second-action" href="{{contact.secondAction.hyperlink}}" title="{{contact.secondAction.title}}"> +<a class="second-action" href="{{contact.secondAction.hyperlink}}" aria-label="{{contact.secondAction.title}}" title="{{contact.secondAction.title}}"> <img src="{{contact.secondAction.icon}}" alt="{{contact.secondAction.title}}"> </a> {{/if}} |