You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/web_src
wxiaoguang b573512312
Correctly query the primary button in a form (#32438)
The "primary button" is used at many places, but sometimes they might
conflict (due to button switch, hidden panel, dropdown menu, etc).

Sometimes we could add a special CSS class for the buttons, but
sometimes not (see the comment of QuickSubmit)

This PR introduces `querySingleVisibleElem` to help to get the correct
primary button (the only visible one), and prevent from querying the
wrong buttons.

Fix #32437

---------

Co-authored-by: silverwind <me@silverwind.io>
4 months ago
..
css Add some handy markdown editor features (#32400) 4 months ago
fomantic Remove fomantic dimmer module (#30723) 10 months ago
js Correctly query the primary button in a form (#32438) 4 months ago
svg Support migration from AWS CodeCommit (#31981) 5 months ago