mirror of
https://github.com/moparisthebest/wallabag
synced 2024-11-23 17:42:15 -05:00
fix of conflict of s shortcat and entering s in input fields
This commit is contained in:
parent
1acd18510a
commit
7339b0b08d
@ -60,15 +60,18 @@ $.fn.ready(function() {
|
||||
========================================================================== */
|
||||
|
||||
$(window).keydown(function(e){
|
||||
if ( e.target.tagName.toLowerCase() !== 'input' ) {
|
||||
switch (e.keyCode) {
|
||||
// s letter
|
||||
case 83:
|
||||
$bagitForm.toggle();
|
||||
return false;
|
||||
break;
|
||||
case 27:
|
||||
$bagitForm.hide();
|
||||
break;
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user