PERF: Don't blur all elements on a page

This commit is contained in:
Sam 2014-03-11 09:03:13 +11:00
parent 4ce422dc26
commit eb2f04d458
1 changed files with 1 additions and 1 deletions

View File

@ -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);