Skip to content

Commit

Permalink
Remove jQuery import from some files go-gitea#32512
Browse files Browse the repository at this point in the history
  • Loading branch information
yp05327 committed Nov 28, 2024
1 parent 2e3c4d3 commit 4e2480b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web_src/js/features/repo-home.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ export function initRepoTopicBar() {
onLabelCreate(value) {
value = value.toLowerCase().trim();
this.attr('data-value', value).contents().first().replaceWith(value);
return $(this);
return fomanticQuery(this);
},
onAdd(addedValue, _addedText, $addedChoice) {
addedValue = addedValue.toLowerCase().trim();
Expand Down

0 comments on commit 4e2480b

Please sign in to comment.