FIX: modal was not opening after navigating back in browser (#4218)
This commit is contained in:
parent
443e0a77d8
commit
21279c7fb9
|
@ -94,7 +94,7 @@ export function cleanDOM() {
|
|||
$(document.activeElement).not("body").not(".no-blur").blur();
|
||||
|
||||
Discourse.set('notifyCount',0);
|
||||
$('#discourse-modal').modal('hide');
|
||||
Discourse.__container__.lookup('route:application').send('closeModal');
|
||||
const hideDropDownFunction = $('html').data('hide-dropdown');
|
||||
if (hideDropDownFunction) { hideDropDownFunction(); }
|
||||
|
||||
|
|
Loading…
Reference in New Issue