From 1743621c4896b65cd9bd81a07341b48a7619bcf8 Mon Sep 17 00:00:00 2001 From: Aaron Parecki Date: Thu, 5 May 2016 22:56:12 -0700 Subject: get rid of duplicate ctrl-s handlers --- views/new-post.php | 7 ------- 1 file changed, 7 deletions(-) (limited to 'views/new-post.php') diff --git a/views/new-post.php b/views/new-post.php index 6ae4a17..7c4d3cf 100644 --- a/views/new-post.php +++ b/views/new-post.php @@ -189,13 +189,6 @@ $(function(){ $("#note_in_reply_to").change(); } - // ctrl-s to save - $(window).on('keydown', function(e){ - if(e.keyCode == 83 && e.ctrlKey){ - $("#btn_post").click(); - } - }); - $("#btn_post").click(function(){ // Collect all the syndication buttons that are pressed -- cgit v1.2.3