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 4719b5d commit 6483730Copy full SHA for 6483730
web_src/js/features/repo-unicode-escape.ts
@@ -9,7 +9,7 @@ export function initUnicodeEscapeButton() {
9
const container = unicodeContentSelector ?
10
document.querySelector(unicodeContentSelector) :
11
btn.closest('.file-content, .non-diff-file-content');
12
- const fileView = container.querySelector('.file-code, .file-view') || container;
+ const fileView = container.querySelector('.file-code, .file-view') ?? container;
13
if (btn.matches('.escape-button')) {
14
fileView.classList.add('unicode-escaped');
15
hideElem(btn);
0 commit comments