gitea/web_src/js
Giteabot 1a97a84023
Fix JS error on compare page (#23551) (#23566)
Backport #23551 by @silverwind

Fix regression from https://github.com/go-gitea/gitea/pull/23271. This
code apparently runs on the compare page where there is no review button
so check for existance of both button and content.

<img width="1226" alt="Screenshot 2023-03-17 at 21 42 47"
src="https://user-images.githubusercontent.com/115237/226040001-ec097edd-d926-4c80-9962-526f9b7eff19.png">

Fixes #23562

Co-authored-by: silverwind <me@silverwind.io>
2023-03-18 16:48:13 -05:00
..
components Replace Less with CSS (#23508) 2023-03-16 21:04:39 -04:00
features Fix JS error on compare page (#23551) (#23566) 2023-03-18 16:48:13 -05:00
markup update to mermaid v10 (#23178) (#23299) 2023-03-05 02:13:50 -05:00
modules Fix `aria.js` bugs: incorrect role element problem, mobile focus problem, tippy problem (#23450) (#23486) 2023-03-18 17:14:19 +01:00
standalone Add new JS linter rules (#17699) 2021-11-22 16:19:01 +08:00
test
utils Fix the show/hide methods for string selector (#23042) 2023-02-21 11:09:03 -06:00
webcomponents
bootstrap.js
index.js
jquery.js
serviceworker.js
svg.js Fix adding of empty class name (#23352) (#23360) 2023-03-07 17:15:19 -05:00
svg.test.js
utils.js Scoped labels (#22585) 2023-02-18 21:17:39 +02:00
utils.test.js