fix /m/ view for edits with _ in id
This commit is contained in:
parent
2d30059cee
commit
869d154d5b
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ function parseURL() {
|
||||||
} else if (id.startsWith('edits/')) {
|
} else if (id.startsWith('edits/')) {
|
||||||
var parts = id.split('/')
|
var parts = id.split('/')
|
||||||
parts.shift()
|
parts.shift()
|
||||||
id = parts.shift().replace(/_/g, ' ')
|
id = parts.shift().replace(/_/g, ' ').replace(/%09/g, '_')
|
||||||
type = "edit"
|
type = "edit"
|
||||||
if (parts.length >= 2) {
|
if (parts.length >= 2) {
|
||||||
args.sort = parts[1]
|
args.sort = parts[1]
|
||||||
|
|
Loading…
Reference in a new issue