Skip to content

Commit 66d7fed

Browse files
committed
2 parents 173d0a0 + de4a7db commit 66d7fed

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/content.entry.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,13 @@ const resultPromise = (async (): Promise<{
195195
// console.log('JSON Formatter: Type "json" to inspect.')
196196
}
197197

198+
// remove the pretty-print bar
199+
for (const el of document.getElementsByClassName(
200+
'json-formatter-container'
201+
)) {
202+
el.style.display = 'none'
203+
}
204+
198205
return {
199206
formatted: true,
200207
note: 'done',

0 commit comments

Comments
 (0)