aboutsummaryrefslogtreecommitdiffstats
path: root/web_src/js/features/repo-common.js
diff options
context:
space:
mode:
Diffstat (limited to 'web_src/js/features/repo-common.js')
-rw-r--r--web_src/js/features/repo-common.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/web_src/js/features/repo-common.js b/web_src/js/features/repo-common.js
index 712086952d..3ddabe10f1 100644
--- a/web_src/js/features/repo-common.js
+++ b/web_src/js/features/repo-common.js
@@ -65,18 +65,18 @@ export function initRepoClone() {
}
export function initRepoCommonBranchOrTagDropdown(selector) {
- $.find(selector).each(function () {
+ $(selector).each(function () {
const $dropdown = $(this);
$dropdown.find('.reference.column').on('click', function () {
$dropdown.find('.scrolling.reference-list-menu').hide();
- $.find($(this).data('target')).show();
+ $($(this).data('target')).show();
return false;
});
});
}
export function initRepoCommonFilterSearchDropdown(selector) {
- const $dropdown = $.find(selector);
+ const $dropdown = $(selector);
$dropdown.dropdown({
fullTextSearch: true,
selectOnKeydown: false,