Update index.html

This commit is contained in:
zyphlar 2022-11-30 22:13:02 -08:00 committed by GitHub
parent f61f3bbe6f
commit b15a306a36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,8 +3,8 @@
<script src="https://code.jquery.com/jquery-3.6.1.min.js" integrity="sha256-o88AwQnZB+VDvE9tvIXrMQaPlFFSUTR+nldQm1LuPXQ=" crossorigin="anonymous"></script>
<script type="text/javascript">
function loadLocale(){
var sourceUrl = "https://raw.githubusercontent.com/organicmaps/organicmaps/7551fa46c89f85d551015fccb7e0e13dfebd13de/data/sound-strings/"+$("#localeSelect").val()+".json/localize.json";
var fancyUrl = "https://github.com/organicmaps/organicmaps/blob/7551fa46c89f85d551015fccb7e0e13dfebd13de/data/sound-strings/"+$("#localeSelect").val()+".json/localize.json"
var sourceUrl = "https://raw.githubusercontent.com/organicmaps/organicmaps/ada410b5825e2dfd7c1ed95d539292dcef7d09dc/data/sound-strings/"+$("#localeSelect").val()+".json/localize.json";
var fancyUrl = "https://github.com/organicmaps/organicmaps/blob/ada410b5825e2dfd7c1ed95d539292dcef7d09dc/data/sound-strings/"+$("#localeSelect").val()+".json/localize.json"
$("#sourceUrl").attr("href", fancyUrl).text($("#localeSelect").val()+".json");