Replace ⚪ emoji with favicon.ico pokeball on throw ball button

This commit is contained in:
Sterling Archer committed 2026-05-27 14:57:57 -07:00
1 parent ebac04a578
commit 788b00f05a
1 file changed
+1 -1
+1 -1
View File
@@ -1306,7 +1306,7 @@ class Game {
const throwBtn = document.createElement('button'); const throwBtn = document.createElement('button');
throwBtn.className = 'catch-action-btn btn-pixel btn-red'; throwBtn.className = 'catch-action-btn btn-pixel btn-red';
throwBtn.textContent = '⚪ THROW BALL'; throwBtn.innerHTML = '<img src="./favicon.ico" class="pokeball-icon"> THROW BALL';
throwBtn.disabled = this.state.pokeballs <= 0; throwBtn.disabled = this.state.pokeballs <= 0;
if (this.state.pokeballs <= 0) throwBtn.style.opacity = '0.4'; if (this.state.pokeballs <= 0) throwBtn.style.opacity = '0.4';
throwBtn.addEventListener('click', () => this.throwPokeball(wild, canCatch)); throwBtn.addEventListener('click', () => this.throwPokeball(wild, canCatch));