added O for originals

This commit is contained in:
ville rantanen
2012-01-24 15:35:13 +02:00
parent 0ddcfa50ce
commit 5358e923e9

View File

@@ -546,14 +546,18 @@ function keypressed(e) {
if (currentimage>(imagelist.length-1)) { currentimage=0; }
showimage(currentimage);
}
// x: mark image
if (unicode==88) {
markitem(currentimage);
// o: originals
if (unicode==79) {
fliporiginalsi();
}
// f: fullscreen
if (unicode==70) {
flipfullscreen();
}
// x: mark image
if (unicode==88) {
markitem(currentimage);
}
if (slideshowinterval!=0) {
clearInterval(slideshowtimer);
slideshowtimer=setInterval('slidenext()',1000*Math.abs(slideshowinterval));