feat(webui): language selector #593
@ -102,7 +102,7 @@ function setLanguage(lang) {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
function fetchItemList() {
 | 
					function fetchItemList() {
 | 
				
			||||||
    window.itemListPromise = new Promise(resolve => {
 | 
					    window.itemListPromise = new Promise(resolve => {
 | 
				
			||||||
        const req = $.get("/custom/getItemLists?lang=" + lang);
 | 
					        const req = $.get("/custom/getItemLists?lang=" + window.lang);
 | 
				
			||||||
        req.done(data => {
 | 
					        req.done(data => {
 | 
				
			||||||
            window.archonCrystalUpgrades = data.archonCrystalUpgrades;
 | 
					            window.archonCrystalUpgrades = data.archonCrystalUpgrades;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user