X-Git-Url: http://git.scottworley.com/picsort/blobdiff_plain/ed9d7c54c1259e961660336edac95a511fa0be8f..51b05914e98fad8ba8a6eef93691e2e5bae034ee:/picsorter.js diff --git a/picsorter.js b/picsorter.js index c87882c..3fd9e28 100644 --- a/picsorter.js +++ b/picsorter.js @@ -8,3 +8,7 @@ function setpic() { $(function() { setpic(); }); + +Mousetrap.bind('z', function() { $("#pic").toggleClass("fit_view"); }); +Mousetrap.bind('n', function() { input_index ++; setpic(); }); +Mousetrap.bind('p', function() { input_index --; setpic(); });