Update index.html

This commit is contained in:
zyphlar 2022-12-05 22:09:47 -08:00 committed by GitHub
parent 5e35255a2f
commit d03a4936d8
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 src="https://code.jquery.com/jquery-3.6.1.min.js" integrity="sha256-o88AwQnZB+VDvE9tvIXrMQaPlFFSUTR+nldQm1LuPXQ=" crossorigin="anonymous"></script>
<script type="text/javascript"> <script type="text/javascript">
function loadLocale(){ function loadLocale(){
var sourceUrl = "https://raw.githubusercontent.com/organicmaps/organicmaps/ada410b5825e2dfd7c1ed95d539292dcef7d09dc/data/sound-strings/"+$("#localeSelect").val()+".json/localize.json"; var sourceUrl = "https://raw.githubusercontent.com/organicmaps/organicmaps/3ceccfe3761e1eefd3ae92f92dc2d9d856680042/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" var fancyUrl = "https://github.com/organicmaps/organicmaps/blob/3ceccfe3761e1eefd3ae92f92dc2d9d856680042/data/sound-strings/"+$("#localeSelect").val()+".json/localize.json"
$("#sourceUrl").attr("href", fancyUrl).text($("#localeSelect").val()+".json"); $("#sourceUrl").attr("href", fancyUrl).text($("#localeSelect").val()+".json");