From: Scott Worley Date: Sat, 1 Mar 2014 05:50:29 +0000 (-0800) Subject: '%' to see progress X-Git-Url: http://git.scottworley.com/picsort/commitdiff_plain/76812d8fb224d6fe85d46d74f2657c397b67e53b '%' to see progress --- diff --git a/picsorter.js b/picsorter.js index fd8a8dc..91febfa 100644 --- a/picsorter.js +++ b/picsorter.js @@ -164,3 +164,4 @@ Mousetrap.bind('x', mark_deleted); Mousetrap.bind('X', mark_not_deleted); Mousetrap.bind('r', rotate); Mousetrap.bind('c', function() { $("#name").show().focus(); return false; }); +Mousetrap.bind('%', function() { say((100 * input_index / files.length).toFixed(2) + "%"); });