mirror of https://github.com/go-gitea/gitea.git
b5a2bb9ab3
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. |
||
---|---|---|
.. | ||
components | ||
features | ||
markup | ||
modules | ||
render | ||
standalone | ||
test | ||
utils | ||
webcomponents | ||
bootstrap.js | ||
index.js | ||
jquery.js | ||
svg.js | ||
svg.test.js | ||
utils.js | ||
utils.test.js |