diff options
Diffstat (limited to 'views/new-bookmark.php')
-rw-r--r-- | views/new-bookmark.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/views/new-bookmark.php b/views/new-bookmark.php index 5738036..d4100ba 100644 --- a/views/new-bookmark.php +++ b/views/new-bookmark.php @@ -62,6 +62,13 @@ <script> $(function(){ + // ctrl-s to save + $(window).on('keydown', function(e){ + if(e.keyCode == 83 && e.ctrlKey){ + $("#btn_post").click(); + } + }); + $("#btn_post").click(function(){ var syndications = []; |