We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df9612b commit d0a2c1eCopy full SHA for d0a2c1e
web_src/js/features/repo-common.js
@@ -110,14 +110,14 @@ export function initRepoCommonBranchOrTagDropdown(selector) {
110
export function initRepoCommonFilterSearchDropdown(selector) {
111
const $dropdown = $(selector);
112
$dropdown.dropdown({
113
- fullTextSearch: true,
+ fullTextSearch: 'exact',
114
selectOnKeydown: false,
115
onChange(_text, _value, $choice) {
116
- if ($choice.data('url')) {
117
- window.location.href = $choice.data('url');
+ if ($choice.attr('data-url')) {
+ window.location.href = $choice.attr('data-url');
118
}
119
},
120
- message: {noResults: $dropdown.data('no-results')},
+ message: {noResults: $dropdown.attr('data-no-results')},
121
});
122
123
0 commit comments