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-repost.php | |
parent | 3cd68c5331b7808a970c67119cdf9a7389b92cdb (diff) |
get rid of duplicate ctrl-s handlers
Diffstat (limited to 'views/new-repost.php')
-rw-r--r-- | views/new-repost.php | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/views/new-repost.php b/views/new-repost.php index 1f8fcfc..a60b8ea 100644 --- a/views/new-repost.php +++ b/views/new-repost.php @@ -26,13 +26,6 @@ <script> $(function(){ - // ctrl-s to save - $(window).on('keydown', function(e){ - if(e.keyCode == 83 && e.ctrlKey){ - $("#btn_post").click(); - } - }); - $("#btn_post").click(function(){ $.post("/repost", { |