forked from forgejo/forgejo
This reverts commit 661d3d28e9
.
This commit is contained in:
parent
72b3681648
commit
4d0a72a271
10 changed files with 34 additions and 39 deletions
|
@ -15,7 +15,7 @@ export function initRepoDiffFileViewToggle() {
|
|||
$this.parent().children().removeClass('active');
|
||||
$this.addClass('active');
|
||||
|
||||
const $target = $.find($this.data('toggle-selector'));
|
||||
const $target = $($this.data('toggle-selector'));
|
||||
$target.parent().children().addClass('hide');
|
||||
$target.removeClass('hide');
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue