if ("name" in picinfo[f] && picinfo[f].name.length > 0) {
var escaped_filename = "'" + shell_escape(picinfo[f].name) + "'";
if (picinfo[f].deleted == "deleted") {
if ("name" in picinfo[f] && picinfo[f].name.length > 0) {
var escaped_filename = "'" + shell_escape(picinfo[f].name) + "'";
if (picinfo[f].deleted == "deleted") {
Mousetrap.bind('$', move_to_end);
Mousetrap.bind('x', function(){ mark_deleted("deleted"); });
Mousetrap.bind('X', mark_not_deleted);
Mousetrap.bind('$', move_to_end);
Mousetrap.bind('x', function(){ mark_deleted("deleted"); });
Mousetrap.bind('X', mark_not_deleted);
Mousetrap.bind('r', rotate);
Mousetrap.bind('i', announce);
Mousetrap.bind('f', function() { say(files[input_index]); });
Mousetrap.bind('r', rotate);
Mousetrap.bind('i', announce);
Mousetrap.bind('f', function() { say(files[input_index]); });