Update index.html

This commit is contained in:
zyphlar 2022-12-31 16:06:50 -08:00 committed by GitHub
parent d03a4936d8
commit ed5b18f4e5
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/3ceccfe3761e1eefd3ae92f92dc2d9d856680042/data/sound-strings/"+$("#localeSelect").val()+".json/localize.json"; var sourceUrl = "https://raw.githubusercontent.com/organicmaps/organicmaps/5f7013eb5520d1c849342b0bfac2dd53fa428340/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" var fancyUrl = "https://github.com/organicmaps/organicmaps/blob/5f7013eb5520d1c849342b0bfac2dd53fa428340/data/sound-strings/"+$("#localeSelect").val()+".json/localize.json"
$("#sourceUrl").attr("href", fancyUrl).text($("#localeSelect").val()+".json"); $("#sourceUrl").attr("href", fancyUrl).text($("#localeSelect").val()+".json");