mirror of
1
Fork 0
forgejo/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 Remove incorrect HTML self close tag (#23748) 2023-03-27 18:05:51 +02:00
base Improve notification icon and navbar (#25111) 2023-06-07 22:21:57 +00:00
code Use data-tooltip-content for tippy tooltip (#23649) 2023-03-24 18:35:38 +08:00
custom Add footer extra links template (#9576) 2020-01-03 20:41:56 +02:00
devtest Improve button-ghost, remove tertiary button (#24692) 2023-05-13 20:38:22 +00:00
explore Consolidate the two review boxes into one (#24738) 2023-05-29 12:44:03 +02:00
mail Remove incorrect HTML self close tag (#23748) 2023-03-27 18:05:51 +02:00
org Add details summary for vertical menus in settings to allow toggling (#25098) 2023-06-07 10:49:48 +08:00
package Consolidate the two review boxes into one (#24738) 2023-05-29 12:44:03 +02:00
projects Merge `new project` templates into one (#24985) 2023-05-31 08:50:18 +02:00
repo Fix strange UI behavior of cancelling dismiss review modal (#25133) 2023-06-08 08:52:35 +00:00
shared Show `bot` label next to username when rendering autor link if the user is a bot (#24943) 2023-05-26 18:58:11 +02:00
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 Improve home page template, fix Sort dropdown menu flash (#23856) 2023-04-01 13:47:54 +08:00
install.tmpl Unification of registration fields order (#24737) 2023-05-15 20:29:39 +02:00
post-install.tmpl Remove incorrect element ID on "post-install" page (#25104) 2023-06-08 12:23:39 +08:00