popover_menus: Set correct instance as undefined.

This caused a bug where input keys were not working since
`compose_mobile_button` was always set.
This commit is contained in:
Aman Agrawal 2023-10-02 16:47:31 +00:00 committed by Tim Abbott
parent 605c4688b1
commit 4c57b3f289

View File

@ -556,7 +556,7 @@ export function initialize() {
// Destroy instance so that event handlers
// are destroyed too.
instance.destroy();
popover_instances.compose_control_button = undefined;
popover_instances.compose_mobile_button = undefined;
},
});