瀏覽代碼

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

Fixes https://github.com/lesspass/lesspass/issues/446
pull/448/head
Guillaume Vincent 5 年之前
父節點
當前提交
edbeb64c72
共有 2 個文件被更改,包括 3 次插入3 次删除
  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
文件差異過大導致無法顯示
查看文件


+ 2
- 2
packages/lesspass-pure/src/services/tooltip.js 查看文件

@@ -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…
取消
儲存