Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
LQDN Adminsys
generateur-slogans
Commits
132d537c
Verified
Commit
132d537c
authored
Nov 27, 2017
by
Thibaut Broggi
Browse files
Fix space characters turned into plus
parent
e3069f73
Pipeline
#1739
passed with stages
in 1 minute and 48 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
static/canvas.js
View file @
132d537c
...
...
@@ -22,7 +22,7 @@ let params = {};
if
(
window
.
location
.
search
)
{
let
splitParams
=
window
.
location
.
search
.
split
(
'
?
'
)[
1
].
split
(
'
&
'
);
for
(
let
i
in
splitParams
)
{
params
[
splitParams
[
i
].
split
(
'
=
'
)[
0
]]
=
decodeURIComponent
(
splitParams
[
i
].
split
(
'
=
'
)[
1
].
replace
(
/
\+
/
,
'
'
));
params
[
splitParams
[
i
].
split
(
'
=
'
)[
0
]]
=
decodeURIComponent
(
splitParams
[
i
].
split
(
'
=
'
)[
1
].
replace
(
/
\+
/
g
,
'
'
));
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment