mirror of
https://github.com/discourse/discourse.git
synced 2025-04-13 16:20:12 +08:00
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(); }
|
||||
|
||||
// Remove any link focus
|
||||
$('a').blur();
|
||||
$(document.activeElement).blur();
|
||||
|
||||
Discourse.set('notifyCount',0);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user