Skip to content

Commit

Permalink
remove obsolete attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
g5bot committed Aug 16, 2024
1 parent 3c435dc commit 5aafb28
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
5 changes: 2 additions & 3 deletions src/html/colony/menu/componentFab.twig
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
{{ data.getAmountInStock }}
</td>
<td class="responsive-hide" style="vertical-align: middle; text-align: center;">
<input type="text" size="2" name="module[{{ moduleId }}]" data-module-id="{{ moduleId }}"
<input type="text" size="2" data-module-id="{{ moduleId }}"
onkeydown="event.key == 'Enter' && $('producebutton').click()"
oninput="setModuleInput(this)" />
</td>
Expand Down Expand Up @@ -109,8 +109,7 @@
{{ data.getAmountInStock }}
</td>
<td style="vertical-align: middle; text-align: center;">
<input type="text" size="2" name="module[{{ moduleId }}]"
data-module-id="{{ moduleId }}"
<input type="text" size="2" data-module-id="{{ moduleId }}"
onkeydown="event.key == 'Enter' && $('producebutton').click()"
oninput="setModuleInput(this);" />
</td>
Expand Down
10 changes: 4 additions & 6 deletions src/html/colony/menu/moduleFab.twig
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
{{ data.getAmountInStock }}
</td>
<td class="responsive-hide" style="vertical-align: middle; text-align: center;">
<input type="text" size="2" name="module[{{ moduleId }}]" data-module-id="{{ moduleId }}"
<input type="text" size="2" data-module-id="{{ moduleId }}"
onkeydown="event.key == 'Enter' && $('producebutton').click()"
oninput="setModuleInput(this);" />
</td>
Expand Down Expand Up @@ -147,8 +147,7 @@
{{ data.getAmountInStock }}
</td>
<td style="vertical-align: middle; text-align: center;">
<input type="text" size="2" name="module[{{ moduleId }}]"
data-module-id="{{ moduleId }}"
<input type="text" size="2" data-module-id="{{ moduleId }}"
onkeydown="event.key == 'Enter' && $('producebutton').click()"
oninput="setModuleInput(this);" />
</td>
Expand Down Expand Up @@ -243,7 +242,7 @@
{{ data.getAmountInStock }}
</td>
<td class="responsive-hide" style="vertical-align: middle; text-align: center;">
<input type="text" size="2" name="module[{{ moduleId }}]" data-module-id="{{ moduleId }}"
<input type="text" size="2" data-module-id="{{ moduleId }}"
onkeydown="event.key == 'Enter' && $('producebutton').click()"
oninput="setModuleInput(this);" />
</td>
Expand Down Expand Up @@ -284,8 +283,7 @@
{{ data.getAmountInStock }}
</td>
<td style="vertical-align: middle; text-align: center;">
<input type="text" size="2" name="module[{{ moduleId }}]"
data-module-id="{{ moduleId }}"
<input type="text" size="2" data-module-id="{{ moduleId }}"
onkeydown="event.key == 'Enter' && $('producebutton').click()"
oninput="setModuleInput(this);" />
</td>
Expand Down

0 comments on commit 5aafb28

Please sign in to comment.