mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Bugfix: $ got removed from hash path
This commit is contained in:
parent
86550d1563
commit
fba1c59f84
1 changed files with 1 additions and 1 deletions
2
vendors/routes/hasher.js
vendored
2
vendors/routes/hasher.js
vendored
|
|
@ -14,7 +14,7 @@
|
||||||
const
|
const
|
||||||
_hashValRegexp = /#(.*)$/,
|
_hashValRegexp = /#(.*)$/,
|
||||||
_hashRegexp = /^[#/]+/,
|
_hashRegexp = /^[#/]+/,
|
||||||
_hashTrim = /^\/|\$/g,
|
_hashTrim = /^\/+/g,
|
||||||
_trimHash = hash => hash?.replace(_hashTrim, '') || '',
|
_trimHash = hash => hash?.replace(_hashTrim, '') || '',
|
||||||
_getWindowHash = () => {
|
_getWindowHash = () => {
|
||||||
//parsed full URL instead of getting window.location.hash because Firefox decode hash value (and all the other browsers don't)
|
//parsed full URL instead of getting window.location.hash because Firefox decode hash value (and all the other browsers don't)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue