Update index.html
Browse files- index.html +1 -1
index.html
CHANGED
@@ -47,7 +47,7 @@
|
|
47 |
const response = await fetch(`${API_BASE}/coins/list`);
|
48 |
const data = await response.json();
|
49 |
select.innerHTML = data
|
50 |
-
.slice(0,
|
51 |
.map(coin => `<option value="${coin.id}">${coin.name} (${coin.symbol.toUpperCase()})</option>`)
|
52 |
.join('');
|
53 |
} catch (error) {
|
|
|
47 |
const response = await fetch(`${API_BASE}/coins/list`);
|
48 |
const data = await response.json();
|
49 |
select.innerHTML = data
|
50 |
+
.slice(0, 150) // Ограничиваем список первыми 50 валютами
|
51 |
.map(coin => `<option value="${coin.id}">${coin.name} (${coin.symbol.toUpperCase()})</option>`)
|
52 |
.join('');
|
53 |
} catch (error) {
|