Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
callumlocke committed Mar 27, 2024
2 parents 173d0a0 + de4a7db commit 66d7fed
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/content.entry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,13 @@ const resultPromise = (async (): Promise<{
// console.log('JSON Formatter: Type "json" to inspect.')
}

// remove the pretty-print bar
for (const el of document.getElementsByClassName(
'json-formatter-container'
)) {
el.style.display = 'none'
}

return {
formatted: true,
note: 'done',
Expand Down

0 comments on commit 66d7fed

Please sign in to comment.