forgejo/web_src/js
parnic 2347c9ebbe
Allow commit status popup on /pulls page (#19507)
* Allow commit status popup on /pulls page

The /pulls page doesn't contain a "repository" element, so the early-out here was preventing the commit status popup hook from working. However, the only thing the .repository element is being used for here is determining whether the popup should be on the right or on the left, so we don't actually need the element to exist for the hook to work.

Pull request #19375 allows the statuses on /pulls pages to appear clickable, but this commit is required to make the popup actually work there.

* Move commit statuses popup hook to dedicated func

* Add missing import
2022-04-26 21:09:46 +02:00
..
components Never use /api/v1 from Gitea UI Pages (#19318) 2022-04-07 20:59:56 +02:00
features Allow commit status popup on /pulls page (#19507) 2022-04-26 21:09:46 +02:00
markup Various Mermaid improvements (#18776) 2022-02-16 11:28:29 +08:00
standalone
vendor
bootstrap.js Show messages for users if the ROOT_URL is wrong, show JavaScript errors (#18971) 2022-03-30 13:52:24 +08:00
index.js Allow commit status popup on /pulls page (#19507) 2022-04-26 21:09:46 +02:00
jquery.js
serviceworker.js
svg.js
svg.test.js
utils.js Detect dark theme via css variable (#17800) 2021-11-25 15:14:48 +08:00
utils.test.js