Skip to content

Commit

Permalink
refactor(public): rename cursor element id to "upgrade"
Browse files Browse the repository at this point in the history
  • Loading branch information
remarkablemark committed Apr 2, 2019
1 parent 444a1c9 commit d9129f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion public/index.html
Expand Up @@ -53,7 +53,7 @@ <h1>Button Clicker</h1>
</tr>
</thead>
<tbody id="store">
<tr id="cursor">
<tr id="upgrade">
<td><button disabled>Cursor</button> <span class="owned"></span></td>
<td class="cost"></td>
<td class="output"></td>
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Expand Up @@ -49,7 +49,7 @@ const elements = {
button: document.getElementById('button'),
counter: document.getElementById('counter'),
store: document.getElementById('store'),
storeCursor: document.getElementById('cursor'),
storeCursor: document.getElementById('upgrade'),
};
Object.keys(state.generators).forEach(id => {
const generatorNode = elements.storeCursor.cloneNode(true);
Expand Down

0 comments on commit d9129f2

Please sign in to comment.