From 39d30831b572edca76b44fade4536420da7e7632 Mon Sep 17 00:00:00 2001 From: cyomega <106396564+cyomega@users.noreply.github.com> Date: Fri, 26 Jul 2024 16:17:18 +0800 Subject: [PATCH] Update equip.js --- equip.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/equip.js b/equip.js index f0ac448..540367c 100644 --- a/equip.js +++ b/equip.js @@ -1,3 +1,13 @@ +let uits = {}; +$.ajax({ + url: 'data/texts.txt', + type: 'get', + dataType: 'json', + async: false, + success: function(data) { + uits = data[lang]; + } +}); $(document).ready(function() { function levelPane() { let options = [];