Fix parsing URL hash when no "?" was specified
This commit is contained in:
parent
363f8f3205
commit
9de3d8225b
|
@ -1411,6 +1411,10 @@ OC.Util.History = {
|
|||
if (pos >= 0) {
|
||||
return hash.substr(pos + 1);
|
||||
}
|
||||
if (hash.length) {
|
||||
// remove hash sign
|
||||
return hash.substr(1);
|
||||
}
|
||||
return '';
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue