Skip to content

Commit f85f770

Browse files
authored
Update check-if-json.js
1 parent 4dce67f commit f85f770

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extension/src/json-viewer/check-if-json.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function getPreWithSource() {
2626
return childNode;
2727

2828
// if Content-Type is text/html
29-
} else if (nodeName === "#text" && textContent.trim().length > 0) {
29+
} else if (nodeName === "#text" && textContent.trim().length > 0) {
3030
if (process.env.NODE_ENV === 'development') {
3131
console.debug("[JSONViewer] Loaded from a text node, this might have returned content-type: text/html");
3232
}

0 commit comments

Comments
 (0)