Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYWAP
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
xuqi
2015-12-02 15:40:33 +0800
Commit
9988c5b59889de84f4bcd7cbb8f6ff73322e1350
1 parent
7ba2c5a4
extact url bug when location.search is empty
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
static/js/product/extract-url.js
static/js/product/extract-url.js
View file @
9988c5b
...
...
@@ -8,7 +8,7 @@ var opt = {};
var
paramStr
=
window
.
location
.
search
.
split
(
'?'
)[
1
];
var
keyVal
=
paramStr
.
split
(
'&'
)
;
var
keyVal
=
paramStr
?
paramStr
.
split
(
'&'
)
:
[]
;
var
i
,
key
,
val
;
...
...
Please
register
or
login
to post a comment