Skip to content

Commit ebeb6e7

Browse files
Ryuno-Kilunnywxiaoguang
authored
A minimal change to replace data calls with attr as per guidelines (#19900)
This affects the manage topics on a repository. Namely the done button once changes are made. Signed-off-by: André Jaenisch <[email protected]> Co-authored-by: Lunny Xiao <[email protected]> Co-authored-by: wxiaoguang <[email protected]>
1 parent df0fb17 commit ebeb6e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web_src/js/features/repo-home.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export function initRepoTopicBar() {
3030
saveBtn.on('click', () => {
3131
const topics = $('input[name=topics]').val();
3232

33-
$.post(saveBtn.data('link'), {
33+
$.post(saveBtn.attr('data-link'), {
3434
_csrf: csrfToken,
3535
topics
3636
}, (_data, _textStatus, xhr) => {

0 commit comments

Comments
 (0)