diff --git a/app/views/commands/_command.html.erb b/app/views/commands/_command.html.erb index 9fcecfac9..7f4fda5bb 100644 --- a/app/views/commands/_command.html.erb +++ b/app/views/commands/_command.html.erb @@ -2,7 +2,7 @@ action: "keydown.enter->terminal#restoreCommand:prevent keydown.enter->toggle-class#remove:prevent", navigable_list_target: "item" } do %> <%= button_tag command.title, type: "button", class: "btn btn--plain overflow-ellipsis terminal__command flex-item-grow justify-start", - data: { action: "toggle-class#remove terminal#restoreCommand", line: command.line } %> + data: { action: "toggle-class#remove terminal#restoreCommand", line: command.line }, tabindex: -1 %> <% if command.undoable? %> <%= button_to "Undo", command_undo_path(command), class: "btn btn--plain terminal__button flex-item-justify-end",