diff options
Diffstat (limited to 'core/js')
-rw-r--r-- | core/js/js.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/js/js.js b/core/js/js.js index a8dd9ca889d..544b26647a9 100644 --- a/core/js/js.js +++ b/core/js/js.js @@ -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 ''; }, |