0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-26 10:14:32 +01:00
gitea/templates
yp05327 b5a2bb9ab3
Fix strange UI behavior of cancelling dismiss review modal (#25133)
Fixes https://github.com/go-gitea/gitea/issues/25130

The old code uses `$(this).next()` to get `dismiss-review-modal`.
At first, it will get `$(#dismiss-review-modal)`, but the next time it
will get `$(#dismiss-review-modal).next();`
and then `$(#dismiss-review-modal).next().next();`.
Because div `dismiss-review-modal` will be removed when
`dismiss-review-btn` clicked.

Maybe the right usage is adding `show-modal` class and `data-modal`
attribute.
2023-06-08 08:52:35 +00:00
..
admin Add details summary for vertical menus in settings to allow toggling (#25098) 2023-06-07 10:49:48 +08:00
api/packages/pypi
base Improve notification icon and navbar (#25111) 2023-06-07 22:21:57 +00:00
code
custom
devtest
explore
mail
org Add details summary for vertical menus in settings to allow toggling (#25098) 2023-06-07 10:49:48 +08:00
package
projects
repo Fix strange UI behavior of cancelling dismiss review modal (#25133) 2023-06-08 08:52:35 +00:00
shared
status Improve notification icon and navbar (#25111) 2023-06-07 22:21:57 +00:00
swagger fix swagger documentation for multiple files API endpoint (#25110) 2023-06-07 23:49:58 +08:00
user Fix webauthn regression and improve code (#25113) 2023-06-07 19:20:18 +08:00
home.tmpl
install.tmpl
post-install.tmpl Remove incorrect element ID on "post-install" page (#25104) 2023-06-08 12:23:39 +08:00