Change smile hotkey to `s`

This commit is contained in:
Karina Kwiatek 2023-03-05 18:46:15 +01:00
parent 9572f844ec
commit cc73f84152
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
%button.btn.btn-link.answerbox__action{ type: :button, name: "ab-smile", data: { a_id: a.id, action: current_user&.smiled?(a) ? :unsmile : :smile, selection_hotkey: "l" }, disabled: !user_signed_in? }
%button.btn.btn-link.answerbox__action{ type: :button, name: "ab-smile", data: { a_id: a.id, action: current_user&.smiled?(a) ? :unsmile : :smile, selection_hotkey: "s" }, disabled: !user_signed_in? }
%i.fa.fa-fw.fa-smile-o
%span{ id: "ab-smile-count-#{a.id}" }= a.smiles.count
- unless display_all

View File

@ -61,7 +61,7 @@
%ul.list-group.list-group-flush
%li.list-group-item
= t('voc.smile')
%kbd l
%kbd s
%li.list-group-item
= t('.answer.view_comments')
%kbd x