From 51b05914e98fad8ba8a6eef93691e2e5bae034ee Mon Sep 17 00:00:00 2001 From: Scott Worley Date: Thu, 27 Feb 2014 19:23:45 -0800 Subject: [PATCH] 'n' and 'p' for next and previous input image --- picsorter.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/picsorter.js b/picsorter.js index 567c247..3fd9e28 100644 --- a/picsorter.js +++ b/picsorter.js @@ -10,3 +10,5 @@ $(function() { }); Mousetrap.bind('z', function() { $("#pic").toggleClass("fit_view"); }); +Mousetrap.bind('n', function() { input_index ++; setpic(); }); +Mousetrap.bind('p', function() { input_index --; setpic(); }); -- 2.44.1