Skip to content

Commit

Permalink
extension: fix bug in showvisited where pinned tippies were hiding on…
Browse files Browse the repository at this point in the history
… single click
  • Loading branch information
karlicoss committed May 31, 2024
1 parent 6edff41 commit ffd6a78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extension/src/showvisited.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ function showMark(element) {
content: popup,
maxWidth: "none", /* default makes it wrap over */
interactive: true, // so it's not hiding on hover
hideOnClick: false, // default is true, and clicking hides the 'pinned' tippies
plugins: [pinOnDoubleClick],

// todo could make configurable? it might break accessibility https://github.com/atomiks/tippyjs/blob/master/MIGRATION_GUIDE.md#props-1
Expand All @@ -151,7 +152,6 @@ function showMark(element) {
/* useful for debugging */
// trigger: "manual",
// showOnCreate: true,
// hideOnClick: false,
})
} catch (e) {
console.error('[promnesia]: error while adding tooltip to %o', element)
Expand Down

0 comments on commit ffd6a78

Please sign in to comment.