mirror of
https://github.com/bitwarden/desktop.git
synced 2024-11-16 10:35:31 +01:00
copy clipboard text directly instead of DOM target
This commit is contained in:
parent
2a4b9d88ba
commit
a13da0005c
@ -8,7 +8,7 @@
|
||||
<div class="title">{{i18n.generatePassword}}</div>
|
||||
</div>
|
||||
<div class="content">
|
||||
<div class="generate-password-block" id="generated-password">
|
||||
<div class="generate-password-block">
|
||||
{{password}}
|
||||
</div>
|
||||
<div class="list" style="margin-top: 0;">
|
||||
@ -18,7 +18,7 @@
|
||||
{{i18n.regeneratePassword}}
|
||||
</a>
|
||||
<a class="list-section-item text-primary" href="" ngclipboard ngclipboard-error="clipboardError(e)"
|
||||
ngclipboard-success="clipboardSuccess(e)" data-clipboard-target="#generated-password">
|
||||
ngclipboard-success="clipboardSuccess(e)" data-clipboard-text="{{password}}">
|
||||
{{i18n.copyPassword}}
|
||||
</a>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user