mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-30 13:03:53 +01:00
only need to trim !
This commit is contained in:
parent
1cdf7924fc
commit
7e383c68f6
@ -41,8 +41,8 @@
|
|||||||
if (paramIndex > -1) {
|
if (paramIndex > -1) {
|
||||||
pagePath = pagePath.substring(0, paramIndex);
|
pagePath = pagePath.substring(0, paramIndex);
|
||||||
}
|
}
|
||||||
if (pagePath.indexOf('/!/') === 0) {
|
if (pagePath.indexOf('!/') === 0) {
|
||||||
pagePath = pagePath.substring(2);
|
pagePath = pagePath.substring(1);
|
||||||
}
|
}
|
||||||
return encodeURIComponent(pagePath);
|
return encodeURIComponent(pagePath);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user