fix: Add missing dot in class query selector

This commit is contained in:
Rodrigo Fernandes 2020-03-10 18:16:04 +00:00
parent 884b95be07
commit 76fb5227af
No known key found for this signature in database
GPG key ID: 67157D2E3D4258B4

View file

@ -80,7 +80,7 @@ export class Diff2HtmlUI {
}
fileListToggle(startVisible: boolean): void {
const showBtn: HTMLElement | null = this.targetElement.querySelector('d2h-show');
const showBtn: HTMLElement | null = this.targetElement.querySelector('.d2h-show');
const hideBtn: HTMLElement | null = this.targetElement.querySelector('.d2h-hide');
const fileList: HTMLElement | null = this.targetElement.querySelector('.d2h-file-list');