Browse Source

Fix "Copied" box not showing up when copying any password

Fixes https://github.com/lesspass/lesspass/issues/446
pull/448/head
Guillaume Vincent 5 years ago
parent
commit
edbeb64c72
2 changed files with 3 additions and 3 deletions
  1. +1
    -1
      packages/lesspass-pure/dist/lesspass.min.js
  2. +2
    -2
      packages/lesspass-pure/src/services/tooltip.js

+ 1
- 1
packages/lesspass-pure/dist/lesspass.min.js
File diff suppressed because it is too large
View File


+ 2
- 2
packages/lesspass-pure/src/services/tooltip.js View File

@@ -1,11 +1,11 @@
export function showTooltip(element, message, position = "right") {
element.setAttribute("data-balloon", message);
element.setAttribute("aria-label", message);
element.setAttribute("data-balloon-visible", "");
element.setAttribute("data-balloon-pos", position);
}

export function hideTooltip(element) {
element.removeAttribute("data-balloon");
element.removeAttribute("aria-label");
element.removeAttribute("data-balloon-visible");
element.removeAttribute("data-balloon-pos");
}

Loading…
Cancel
Save