Skip to content

Commit 3d8412d

Browse files
GiteaBotwxiaoguang
andauthored
Use the correct selector to hide the checkmark of selected labels on clear (#23224) (#23228)
Backport #23224 Regression of #10107 (https://github.com/go-gitea/gitea/pull/10107/files#diff-a15e36f2f9c13339f7fdd38bc2887db2ff2945cb8434464318ab9105fcc846bdR460) Fix #22222 Before: the "clear" action couldn't remove these check marks. ![image](https://user-images.githubusercontent.com/2114189/222212998-c9f33459-b71d-4e80-8588-2935f3b7050c.png) After: the "clear" action can remove these check marks. ![image](https://user-images.githubusercontent.com/2114189/222213048-2be98ed0-cac0-4e27-b72c-1dd0ac2637d5.png) Co-authored-by: wxiaoguang <[email protected]>
1 parent ff7057a commit 3d8412d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web_src/js/features/repo-legacy.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ export function initRepoCommentForm() {
232232

233233
$(this).parent().find('.item').each(function () {
234234
$(this).removeClass('checked');
235-
$(this).find('.octicon').addClass('invisible');
235+
$(this).find('.octicon-check').addClass('invisible');
236236
});
237237

238238
if (selector === 'select-reviewers-modify' || selector === 'select-assignees-modify') {

0 commit comments

Comments
 (0)