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 a2cf202 commit 711c2f8Copy full SHA for 711c2f8
web_src/js/features/repo-issue-pr-status.js
@@ -8,11 +8,10 @@ export function initRepoPullRequestCommitStatus() {
8
const $this = $(e.currentTarget);
9
10
if ($prStatus.hasClass('hide')) {
11
- $prStatus.removeClass('hide');
12
$this.text($this.attr('data-hide-all'));
13
} else {
14
- $prStatus.addClass('hide');
15
$this.text($this.attr('data-show-all'));
16
}
+ $prStatus.toggleClass('hide');
17
});
18
0 commit comments