forgejo/web_src
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
..
css Fix diff detail buttons wrapping, use tippy for review box (#23271) (#23546) 2023-03-17 14:52:04 -04:00
fomantic Fix Fomantic UI's touchstart fastclick, always use click for click events (#23065) (#23195) 2023-02-28 17:53:45 -05:00
js Fix JS error on compare page (#23551) (#23566) 2023-03-18 16:48:13 -05:00
less Replace Less with CSS (#23508) 2023-03-16 21:04:39 -04:00
svg Add Chef package registry (#22554) 2023-02-06 09:49:21 +08:00