ui.js: Don't use jquery blur shorthand but the element's native method
This commit is contained in:
parent
b168c3d7db
commit
ec3a6b0572
|
@ -570,7 +570,7 @@
|
||||||
var $search = $('#search');
|
var $search = $('#search');
|
||||||
if (e.which === 13 && $search.is(':focus')) {
|
if (e.which === 13 && $search.is(':focus')) {
|
||||||
$('#sidebar').removeClass('expanded');
|
$('#sidebar').removeClass('expanded');
|
||||||
$search.blur();
|
$search[0].blur();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue