Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
R3
howto-cards
Commits
5270d409
Verified
Commit
5270d409
authored
Oct 28, 2019
by
Laurent Heirendt
✈
Browse files
changes for query
parent
f5e4594b
Pipeline
#15755
passed with stage
in 1 minute and 19 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.ci/.autoRedirect
View file @
5270d409
...
...
@@ -15,12 +15,12 @@
});
}
UrlExists
(
'
https://r3-core.pages.uni.lu/howto-cards-internal/index.html
'
,
function
(
status
){
var
s
=
window
.
location
.
pathname
;
var
pathArray
=
s
.
split
(
'
/
'
);
var
s
=
window
.
location
.
href
;
var
pathArray
=
s
.
split
(
'
?
'
);
// cut the
entire subdomain path
if
(
pathArray
[
0
]
.
length
>
0
)
{
sub
=
s
.
substr
(
pathArray
[
0
].
length
+
1
)
;
// cut the
query if it exists
if
(
pathArray
.
length
>
0
)
{
sub
=
pathArray
[
1
]
;
}
else
{
sub
=
''
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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