We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 736b7b2 commit 0e77911Copy full SHA for 0e77911
web_src/js/features/repo-common.js
@@ -78,14 +78,14 @@ export function initRepoCommonBranchOrTagDropdown(selector) {
78
export function initRepoCommonFilterSearchDropdown(selector) {
79
const $dropdown = $(selector);
80
$dropdown.dropdown({
81
- fullTextSearch: true,
+ fullTextSearch: 'exact',
82
selectOnKeydown: false,
83
onChange(_text, _value, $choice) {
84
- if ($choice.data('url')) {
85
- window.location.href = $choice.data('url');
+ if ($choice.attr('data-url')) {
+ window.location.href = $choice.attr('data-url');
86
}
87
},
88
- message: {noResults: $dropdown.data('no-results')},
+ message: {noResults: $dropdown.attr('data-no-results')},
89
});
90
91
0 commit comments