Authored by 周少峰

Merge branch 'hotfix/hotSearch'

... ... @@ -138,10 +138,10 @@ function scrollToFirst() {
if ($selected.length > 0) {
$selected = $selected.eq(0);
top = $selected.offset().top - 36;
$('html,body').scrollTop(top);
}
top = $selected.offset().top - 36;
$('html,body').scrollTop(top);
return false;
}
function isCheck(obj, className) {
... ...
... ... @@ -948,7 +948,7 @@ function actionAddKeyWords() {
$querykey.css({
color: '#e0e0e0'
});
$querykey.val(defaultsearch);
$querykey.val(defaultsearch).blur();
$querykey.on('focus', function(e) {
$querykey.css({
color: '#000'
... ...