Shortcuts UI improved

This commit is contained in:
Simon Vieille 2018-02-07 17:43:36 +01:00
parent a2199e6152
commit d8132622b2
No known key found for this signature in database
GPG Key ID: 919533E2B946EA10
1 changed files with 3 additions and 1 deletions

View File

@ -45,8 +45,10 @@ $(function() {
});
$('#shortcut-clear').click(function() {
$('#shortcut-keys').val(null).trigger('change');
$('#shortcut-key').val('');
$('#shortcuts_special_keys input:checked').each(function() {
$(this).prop('checked', false).trigger('change');
});
});
var shortcutsSpecialKeysOnChange = function() {