Skip to content

Commit 7ac3b40

Browse files
Quywilsonge
authored andcommitted
Fix tabLink is null (#134)
1 parent 2594d2a commit 7ac3b40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/js/tab/tab.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@
273273
}
274274

275275
showTab(tab) {
276-
const tabLink = document.querySelector(`#tab-${tab.id}`);
276+
const tabLink = document.querySelector(`#${tab.id}`);
277277
tabLink.click();
278278
}
279279

0 commit comments

Comments
 (0)