Skip to content

Commit

Permalink
Remove tooltips on hover.
Browse files Browse the repository at this point in the history
  • Loading branch information
melaniekung committed May 16, 2024
1 parent c14e43f commit 5cf7eeb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cypress/e2e/search.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ describe('Search', () => {
cy.get('.multiline-header').contains('Showing 1 result')

cy.get('input[name=query]').clear()
.type('to be or not to be{enter}')
.type('to be or not to be{enter}', {force: true})
cy.get('.multiline-header').contains('No results found')

cy.get('input[name=query]').clear()
Expand Down
1 change: 1 addition & 0 deletions plugins/arDominionB5Plugin/js/tooltip.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import Tooltip from "bootstrap/js/dist/tooltip";
$(el)
.prevAll(":not([type=hidden]):first")
.attr({ "data-bs-toggle": "tooltip", title: el.textContent.trim() })
.attr({ "data-bs-trigger": "focus" })
.attr({ "data-bs-placement": "left" });
});

Expand Down

0 comments on commit 5cf7eeb

Please sign in to comment.