mirror of
https://github.com/discourse/discourse.git
synced 2025-03-09 10:48:06 +08:00

The new modal API removed the `#discourse-modal` id from the wrapper element, which meant that select-kit couldn't properly detect when it was inside a modal. This commit updates the detection to use `.fixed-modal` which will match both legacy and modern modals.