Skip to content
Snippets Groups Projects
Commit f1b0801e authored by Andreas Åkre Solberg's avatar Andreas Åkre Solberg
Browse files

Fix language tag in discojuice

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2959 44740490-163a-0410-bde0-09ae8108e29a
parent 3760cec4
No related branches found
No related tags found
No related merge requests found
...@@ -155,7 +155,6 @@ DiscoJuice.UI = { ...@@ -155,7 +155,6 @@ DiscoJuice.UI = {
} }
if (quickentry) { if (quickentry) {
// textLink += '<span style="font-size: 80%; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; border: 1px solid #ccc; background: #eee; color: #777; padding: 3px 2px 0px 2px; margin: 3px; position: relative; top: -2px">&#8629;</span>';
textLink += '<span style="font-size: 80%; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; border: 1px solid #ccc; background: #eee; color: #777; padding: 3px 2px 0px 2px; margin: 3px; float: left; left: -10px">&#8629;</span>'; textLink += '<span style="font-size: 80%; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; border: 1px solid #ccc; background: #eee; color: #777; padding: 3px 2px 0px 2px; margin: 3px; float: left; left: -10px">&#8629;</span>';
} }
...@@ -186,7 +185,7 @@ DiscoJuice.UI = { ...@@ -186,7 +185,7 @@ DiscoJuice.UI = {
if (distance != undefined) { if (distance != undefined) {
if (distance < 1) { if (distance < 1) {
textLink += '<span class="distance">' + DiscoJuice.Dict.Nearby + '</span>'; textLink += '<span class="distance">' + DiscoJuice.Dict.nearby + '</span>';
} else { } else {
textLink += '<span class="distance">' + Math.round(distance) + ' km' + '</span>'; textLink += '<span class="distance">' + Math.round(distance) + ' km' + '</span>';
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment