Skip to content

Commit d7ccf38

Browse files
Update web_src/js/features/repo-code.ts
Co-authored-by: silverwind <[email protected]> Signed-off-by: Kerwin Bryant <[email protected]>
1 parent 32b4725 commit d7ccf38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web_src/js/features/repo-code.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ function showLineButton() {
108108
btn.addEventListener('click', (e) => {
109109
e.stopPropagation();
110110
const tippyInstance = btn._tippy;
111-
if (tippyInstance && tippyInstance.state.isVisible) {
111+
if (tippyInstance?.state.isVisible) {
112112
tippyInstance.hide();
113113
} else if (tippyInstance) {
114114
tippyInstance.show();

0 commit comments

Comments
 (0)