]> source.dussan.org Git - gitea.git/commit
Fix attachment clipboard copy on insecure origin (#26224)
authorsilverwind <me@silverwind.io>
Sat, 29 Jul 2023 22:56:45 +0000 (00:56 +0200)
committerGitHub <noreply@github.com>
Sat, 29 Jul 2023 22:56:45 +0000 (00:56 +0200)
commit72d89eb8dd21a9bd6208e8bae97535cbd8b0b095
tree6dddda3700c271583f983b1f34886091519193e3
parent11074258fc3ecc42f69a385f5433874bf3a8bb0f
Fix attachment clipboard copy on insecure origin (#26224)

Fixes: https://github.com/go-gitea/gitea/issues/26202
Actually later I found out the code did not use `clippie`, so I fixed
it. The bug was never in the clippie module like I initially suspected.
Also, I added a tooltip for feedback.

<img width="139" alt="image"
src="https://github.com/go-gitea/gitea/assets/115237/da501670-9c15-4412-969a-b559773c7ab9">

---------

Co-authored-by: Giteabot <teabot@gitea.io>
web_src/js/features/common-global.js