We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32b4725 commit d7ccf38Copy full SHA for d7ccf38
web_src/js/features/repo-code.ts
@@ -108,7 +108,7 @@ function showLineButton() {
108
btn.addEventListener('click', (e) => {
109
e.stopPropagation();
110
const tippyInstance = btn._tippy;
111
- if (tippyInstance && tippyInstance.state.isVisible) {
+ if (tippyInstance?.state.isVisible) {
112
tippyInstance.hide();
113
} else if (tippyInstance) {
114
tippyInstance.show();
0 commit comments