Simplify pool frontend to single-coin mode
Some checks failed
CodeQL / Analyze (javascript) (push) Failing after 35s

This commit is contained in:
Codex Bot
2026-03-21 19:22:25 +01:00
parent e20b6433ba
commit 0cd6cd6af2
14 changed files with 48 additions and 325 deletions

View File

@@ -57,11 +57,9 @@ let ranOnce = false
// Update current page
currentPage = {
destroy: function(){
Object.keys(mergedApis).forEach(key => {
$(`#payoutSetButton${key}`).off('click')
$(`#enableButton${key}`).off('click')
$(`#disableButton${key}`).off('click')
})
$(`#payoutSetButton${lastStats.config.coin}`).off('click')
$(`#enableButton${lastStats.config.coin}`).off('click')
$(`#disableButton${lastStats.config.coin}`).off('click')
$('#blocksTabs a').off('click')
},
update: function(updateKey){