]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/CoreBundle/Resources/public/themes/baggy/js/saveLink.js
Remove keybaord shortcut and add tagging rule panel in baggy
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Resources / public / themes / baggy / js / saveLink.js
index a7acd84c3e808969cac189ca5cf57d267cdba8d6..34e934ccd9d9f39913dabac8eed669598b5d720a 100755 (executable)
@@ -78,19 +78,6 @@ $.fn.ready(function() {
     event.preventDefault();
   });
 
-  /* ==========================================================================
-   Keyboard gestion
-   ========================================================================== */
-
-  $(window).keydown(function(e){
-    if ( ( e.target.tagName.toLowerCase() !== 'input' && e.keyCode == 83 ) || (e.keyCode == 27 && $bagitForm.is(':visible') ) ) {
-      $bagit.removeClass("current");
-      $("#bagit-arrow").removeClass("arrow-down");
-      toggleSaveLinkForm();
-      return false;
-    }
-  });
-
   /* ==========================================================================
    Process all links inside an article
    ========================================================================== */