fix edit with _ in id
This commit is contained in:
parent
071f79a8bb
commit
0b165e1f37
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