mirror of
https://github.com/discourse/discourse.git
synced 2025-02-24 16:49:57 +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.