chore: linting fixes

This commit is contained in:
Shivam Mishra 2020-07-27 18:39:00 +05:30
parent 68e4509792
commit 1b525f0f86

View file

@ -496,14 +496,14 @@ frappe.setup_search = function (target, search_scope) {
offsetIndex = dropdownItems.length - 1;
$input.off('blur');
dropdownItems.eq(offsetIndex).focus();
}
};
function clear_dropdown() {
offsetIndex = 0;
$dropdown_menu.html('');
$dropdown_menu.removeClass('show');
dropdownItems = undefined;
};
}
// Remove focus state on hover
$dropdown_menu.mouseover(function() {