diff options
author | silverwind <me@silverwind.io> | 2021-05-30 21:15:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-30 20:15:57 +0100 |
commit | 37205039fc83707edc8079d0884d4c12953e80b1 (patch) | |
tree | ff4adbd4ce4f6f56c5166758e2e21144d91faa1f /DCO | |
parent | 36dce0e457d99ae22530f606ce296ef4946b257b (diff) | |
download | gitea-37205039fc83707edc8079d0884d4c12953e80b1.tar.gz gitea-37205039fc83707edc8079d0884d4c12953e80b1.zip |
Replace clipboard.js with async clipboard api (#15899)
Use async clipboard api [1] over this dependency, saving around 10kB
bundle size before minify while delivering the same functionality.
The issue comment button works but does not have a popup indication. We
could add some toast-style notifications in the future to fix that but I
think it's out of scope of this PR.
[1] https://developer.mozilla.org/en-US/docs/Web/API/Clipboard/writeText
Diffstat (limited to 'DCO')
0 files changed, 0 insertions, 0 deletions