Skip to content
This repository has been archived by the owner on Aug 4, 2024. It is now read-only.

Commit

Permalink
Fixes an issue on some browsers where the copy button adds a trailing…
Browse files Browse the repository at this point in the history
… space to the end of the password
  • Loading branch information
ryannewington committed Jul 5, 2018
1 parent dc281e3 commit bec6290
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
@Html.Raw(Model.HtmlPassword)
</div>
<span id="inputGroupAppend" class="input-group-append">
<button id="copy-button" type="button" data-clipboard-target="#pwd">
<button id="copy-button" type="button" data-clipboard-text="@Model.Password">
<i class="far fa-copy"></i>
</button>
</span>
Expand Down

0 comments on commit bec6290

Please sign in to comment.