]> source.dussan.org Git - gitea.git/commit
Remove jQuery from the Unicode escape button (#29369)
authorYarden Shoham <git@yardenshoham.com>
Sat, 24 Feb 2024 19:11:51 +0000 (21:11 +0200)
committerGitHub <noreply@github.com>
Sat, 24 Feb 2024 19:11:51 +0000 (20:11 +0100)
commitc86d033a3ec0514efcd9524d03dce1b6551e487f
tree6c5e9acd71556e04f81451dc45636d7dc8d95bdb
parent4197e2810081025a6614624e7b1731af91c8db72
Remove jQuery from the Unicode escape button (#29369)

- Switched to plain JavaScript
- Tested the Unicode escape button functionality and it works as before

# Demo using JavaScript without jQuery

![action](https://github.com/go-gitea/gitea/assets/20454870/664f0ced-876b-4cb7-a668-bd62169fc843)

---------

Signed-off-by: Yarden Shoham <git@yardenshoham.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
web_src/js/features/repo-unicode-escape.js
web_src/js/utils/dom.js