Skip to content

Commit

Permalink
adds tabindex to setter inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
HeinousTugboat committed Mar 24, 2018
1 parent 7c6a4ef commit a559d68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/UIFunctions.js
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ function (Ash, GlobalSignals, GameConstants, UIConstants, ItemConstants, PlayerA

generateSteppers: function (scope) {
$(scope + " .stepper").append("<button type='button' class='btn-glyph' data-type='minus' data-field=''>-</button>");
$(scope + " .stepper").append("<input class='amount' type='text' min='0' max='100' autocomplete='false' value='0' name=''></input>");
$(scope + " .stepper").append("<input class='amount' type='text' min='0' max='100' autocomplete='false' value='0' name='' tabindex='1'></input>");
$(scope + " .stepper").append("<button type='button' class='btn-glyph' data-type='plus' data-field=''>+</button>");
$(scope + " .stepper button").attr("data-field", function (i, val) {
return $(this).parent().attr("id") + "-input";
Expand Down

0 comments on commit a559d68

Please sign in to comment.