From d880875c390ab84380f828c725d4edf425f67415 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Wed, 24 Jan 2018 03:39:47 -0800 Subject: [PATCH] Fix thread ID parsing on Tinyboard. --- src/main/Main.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/Main.coffee b/src/main/Main.coffee index 3065b022d..948009639 100644 --- a/src/main/Main.coffee +++ b/src/main/Main.coffee @@ -170,7 +170,7 @@ Main = if pathname[2] in ['thread', 'res'] g.VIEW = 'thread' - g.THREADID = +pathname[3] + g.THREADID = +pathname[3].replace('.html', '') else if /^(?:catalog|archive)(?:\.html)?$/.test(pathname[2]) g.VIEW = pathname[2].replace('.html', '') else if /^(?:index|\d*)(?:\.html)?$/.test(pathname[2])