Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue/fixing web helper issue #227

Merged
merged 3 commits into from Aug 23, 2019
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

Next

Fixing typo and display issue

  • Loading branch information
Freydal committed Aug 22, 2019
commit 91dc9e7612861c1b7ec68d7a49b08fa692e7c28d
@@ -308,7 +308,7 @@ const activateForms = async () => {
document.getElementById("validator-claim-button").onclick = async () => {
const challengeId = document.getElementById("validator-claim-challenge-id").value;

validatorRegistry.claimWinnigs(challengeId).then(async () => {
validatorRegistry.claimWinnings(challengeId).then(async () => {
resetValues();
console.log(`Successfully claimed winnigs from challenge ${challengeId}.`);
});
@@ -318,7 +318,7 @@ const activateForms = async () => {
const votingWinningOptionHTML = document.getElementById("voting-winning-option");
if (typeof votingWinningOptionHTML !== "undefined") {
const val = await voting.winningOption(event.target.value);
votingWinningOptionHTML.innerText = trim(val);
votingWinningOptionHTML.innerText = val;
}

const votingTotalWinningTokensHTML = document.getElementById("voting-total-winning-tokens");
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.