[Glitch] Fix reply button on media modal not giving focus to compose form
Port 2cd31b3177
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
@ -9,9 +9,10 @@ export function openModal(type, props) {
|
||||
};
|
||||
};
|
||||
|
||||
export function closeModal(type) {
|
||||
export function closeModal(type, options = { ignoreFocus: false }) {
|
||||
return {
|
||||
type: MODAL_CLOSE,
|
||||
modalType: type,
|
||||
ignoreFocus: options.ignoreFocus,
|
||||
};
|
||||
};
|
||||
|
Reference in New Issue
Block a user