summaryrefslogtreecommitdiff
path: root/views/new-post.php
diff options
context:
space:
mode:
authorAaron Parecki <aaron@parecki.com>2016-05-05 22:56:12 -0700
committerAaron Parecki <aaron@parecki.com>2016-05-05 22:56:12 -0700
commit1743621c4896b65cd9bd81a07341b48a7619bcf8 (patch)
tree0559fcdd9242868cfd32fb31bb47a7f5be403f53 /views/new-post.php
parent3cd68c5331b7808a970c67119cdf9a7389b92cdb (diff)
get rid of duplicate ctrl-s handlers
Diffstat (limited to 'views/new-post.php')
-rw-r--r--views/new-post.php7
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