Skip to content

Commit 76fb522

Browse files
committed
fix: Add missing dot in class query selector
1 parent 884b95b commit 76fb522

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ui/js/diff2html-ui-base.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export class Diff2HtmlUI {
8080
}
8181

8282
fileListToggle(startVisible: boolean): void {
83-
const showBtn: HTMLElement | null = this.targetElement.querySelector('d2h-show');
83+
const showBtn: HTMLElement | null = this.targetElement.querySelector('.d2h-show');
8484
const hideBtn: HTMLElement | null = this.targetElement.querySelector('.d2h-hide');
8585
const fileList: HTMLElement | null = this.targetElement.querySelector('.d2h-file-list');
8686

0 commit comments

Comments
 (0)