fix edit with _ in id

This commit is contained in:
j 2023-08-25 17:28:46 +02:00
parent 071f79a8bb
commit 0b165e1f37

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]