diff options
author | Aaron Parecki <aaron@parecki.com> | 2016-05-05 22:56:12 -0700 |
---|---|---|
committer | Aaron Parecki <aaron@parecki.com> | 2016-05-05 22:56:12 -0700 |
commit | 1743621c4896b65cd9bd81a07341b48a7619bcf8 (patch) | |
tree | 0559fcdd9242868cfd32fb31bb47a7f5be403f53 /views/new-post.php | |
parent | 3cd68c5331b7808a970c67119cdf9a7389b92cdb (diff) |
get rid of duplicate ctrl-s handlers
Diffstat (limited to 'views/new-post.php')
-rw-r--r-- | views/new-post.php | 7 |
1 files changed, 0 insertions, 7 deletions
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 |