mirror of
https://github.com/discourse/discourse.git
synced 2025-04-14 11:50:49 +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.