Skip to content

Latest commit

 

History

History
47 lines (33 loc) · 1.04 KB

File metadata and controls

47 lines (33 loc) · 1.04 KB

Add an accesskey to the submit button of the issue

Add an accesskey to the submit button of the issue.
チケットの送信ボタンにアクセスキーを追加します。

By setting the accesskey, you can press the submit button with the shortcut key.
アクセスキーを設定することで、ショートカットキーで送信ボタンを押下できるようになります。

In this example, s is set as the accesskey.
この例では、アクセスキーとしてsを設定しています。

Setting

Path Pattern

None

Insert Position

Bottom of issue form

Code

JavaScript

$(function() {
  $('#issue-form input[name="commit"]').attr('accesskey', 's');
});

Result

result