fix: show more context by default

This commit is contained in:
James Xylight committed 2025-09-05 16:32:23 -07:00
1 parent b76679509d
commit 57d2bf5e72
2 files changed
+3 -5

No files matched your search

@@ -26,7 +26,7 @@ interface PartialPost {
function buildContext(thread?: string) {
let parentId: number | undefined
let showContext: boolean = false
const max_depth = 3
let max_depth = 3
if (thread) {
const split = thread.split('.')
@@ -35,6 +35,7 @@ function buildContext(thread?: string) {
else {
parentId = Number(thread.split('.')[0])
showContext = true
max_depth = 5
}
}