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
Software
Shunting
Commits
0318f6e9
Commit
0318f6e9
authored
Sep 07, 2020
by
Thorsten Wißmann
🐧
Browse files
Avoid another two javascript-dummy hrefs
parent
fc673b1c
Pipeline
#6512
failed with stage
in 18 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
multilang.css
View file @
0318f6e9
...
...
@@ -16,6 +16,7 @@
color
:
#ccc
;
padding-left
:
0.2em
;
padding-right
:
0.2em
;
cursor
:
pointer
;
}
.multiLangSwitcher
:first-child
>
a
{
...
...
src/Main.elm
View file @
0318f6e9
...
...
@@ -319,7 +319,7 @@ viewNavigation model =
link
:
msg
->
String
->
String
->
(
List
(
Html
msg
)
,
List
(
Html
.
Attribute
msg
))
link
msg
en
de
=
(
[
Html
.
a
[
HA
.
href
"
javascript: ;"
]
[]
[
MultiLang
.
text
en
de
]
]
,
[
HE
.
onClick
msg
]
...
...
src/MultiLang.elm
View file @
0318f6e9
...
...
@@ -35,7 +35,7 @@ viewSwitcher model =
link
:
msg
->
String
->
Html
msg
link
msg
msgtext
=
Html
.
a
[
HA
.
href
"
javascript: ;"
,
HE
.
onClick
msg
]
[
HE
.
onClick
msg
]
[
Html
.
text
msgtext
]
in
Html
.
span
...
...
tcs.css
View file @
0318f6e9
...
...
@@ -75,6 +75,10 @@ body {
line-height
:
1.4em
;
}
#navigationbar
>
li
a
{
cursor
:
pointer
;
}
#navigationbar
>
li
>
select
>
option
{
line-height
:
1.0em
;
}
...
...
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