PERF: Don't blur all elements on a page
This commit is contained in:
parent
4ce422dc26
commit
eb2f04d458
|
@ -46,7 +46,7 @@ Discourse.Route.reopenClass({
|
||||||
if ($.magnificPopup && $.magnificPopup.instance) { $.magnificPopup.instance.close(); }
|
if ($.magnificPopup && $.magnificPopup.instance) { $.magnificPopup.instance.close(); }
|
||||||
|
|
||||||
// Remove any link focus
|
// Remove any link focus
|
||||||
$('a').blur();
|
$(document.activeElement).blur();
|
||||||
|
|
||||||
Discourse.set('notifyCount',0);
|
Discourse.set('notifyCount',0);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue