]> source.dussan.org Git - gitea.git/commit
Remove jQuery `.attr` from the ComboMarkdownEditor (#30051)
authorYarden Shoham <git@yardenshoham.com>
Mon, 25 Mar 2024 00:00:54 +0000 (02:00 +0200)
committerGitHub <noreply@github.com>
Mon, 25 Mar 2024 00:00:54 +0000 (00:00 +0000)
commit428e05662f4f745fe7fef04ce9218a86aa4f1b6c
tree765d9d74ae251949be2922c367d7c3e3c7d031c7
parenta7d0c5de4c82d8d206f6c5c51f012ee831502f67
Remove jQuery `.attr` from the ComboMarkdownEditor (#30051)

- Switched from jQuery `attr` to plain javascript `getAttribute` and
`setAttribute`
- Tested the markdown editor and it works as before

Signed-off-by: Yarden Shoham <git@yardenshoham.com>
web_src/js/features/comp/ComboMarkdownEditor.js