fix /m/ view for edits with _ in id

This commit is contained in:
j 2023-08-25 17:29:24 +02:00
parent 2d30059cee
commit 869d154d5b

View file

@ -38,7 +38,7 @@ function parseURL() {
} else if (id.startsWith('edits/')) {
var parts = id.split('/')
parts.shift()
id = parts.shift().replace(/_/g, ' ')
id = parts.shift().replace(/_/g, ' ').replace(/%09/g, '_')
type = "edit"
if (parts.length >= 2) {
args.sort = parts[1]