Skip to content

Commit

Permalink
mines same results UI corrected
Browse files Browse the repository at this point in the history
  • Loading branch information
Devilla committed Oct 12, 2019
1 parent e21b8cc commit 7e8892e
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions build/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"short_name": "My Extension",
"name": "My Extension",
"short_name": "CGF Verifier",
"name": "CGF Verifier",
"version": "1.0",
"manifest_version": 2,
"background": {
Expand Down
2 changes: 1 addition & 1 deletion build/service-worker.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/static/js/app.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/static/js/app.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/static/js/content.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/static/js/content.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions public/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"short_name": "My Extension",
"name": "My Extension",
"short_name": "CGF Verifier",
"name": "CGF Verifier",
"version": "1.0",
"manifest_version": 2,
"background": {
Expand Down
10 changes: 5 additions & 5 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -1852,10 +1852,10 @@ handleVerifyBetForLimbo = (serverSeedHash,clientSeed, nonce) => {
<table>
<tbody>
{numOfRows.map((j) => {
return (<tr key={j}>
return (<tr key={nonce+''+j}>
{numOfRows.map((i)=>{
return <td key={j*5+i}>
<img src={require((mines[0]==((j)*5+(i))) || (mines[1]==((j)*5+(i))) || (mines[2]==((j)*5+(i)))?'./images/mine.png':'./images/gem.png')} style={{width:"90%"}}/>
return <td key={nonce+''+j*5+i}>
<img src={require((popupResult[0]==((j)*5+(i))) || (popupResult[1]==((j)*5+(i))) || (popupResult[2]==((j)*5+(i)))?'./images/mine.png':'./images/gem.png')} style={{width:"90%"}}/>
</td>
})}
</tr>)
Expand All @@ -1866,9 +1866,9 @@ handleVerifyBetForLimbo = (serverSeedHash,clientSeed, nonce) => {
<table>
<tbody>
{numOfRows.map((j) => {
return (<tr key={j}>
return (<tr key={nonce+''+j}>
{numOfColumnsKeno.map((i)=>{
return (<td key={(j*8+i)}>
return (<td key={(nonce+''+j*8+i)}>
<button className={(keno[0]==((j)*8+(i))) || (keno[1]==((j)*8+(i))) || (keno[2]==((j)*8+(i))) || (keno[4]==((j)*8+(i)))|| (keno[4]==((j)*8+(i))) || (keno[5]==((j)*8+(i))) || (keno[6]==((j)*8+(i))) || (keno[7]==((j)*8+(i))) || (keno[8]==((j)*8+(i))) || (keno[9]==((j)*8+(i)))?'btn btn-success':'btn btn-info'}>{(j)*8+i+1} </button>
</td>);
})}
Expand Down
2 changes: 1 addition & 1 deletion src/content.js
Original file line number Diff line number Diff line change
Expand Up @@ -1869,7 +1869,7 @@ getBetDataById = async (BetId) => {
return (<tr key={j}>
{numOfRows.map((i)=>{
return <td key={j*5+i}>
<img src={require((mines[0]==((j)*5+(i))) || (mines[1]==((j)*5+(i))) || (mines[2]==((j)*5+(i)))?'./images/mine.png':'./images/gem.png')} style={{width:"90%"}}/>
<img src={require((popupResult[0]==((j)*5+(i))) || (popupResult[1]==((j)*5+(i))) || (popupResult[2]==((j)*5+(i)))?'./images/mine.png':'./images/gem.png')} style={{width:"90%"}}/>
</td>
})}
</tr>)
Expand Down

0 comments on commit 7e8892e

Please sign in to comment.