]> git.sesse.net Git - pr0n/blobdiff - perl/Sesse/pr0n/Index.pm
When closing fullscreen mode, go back to where we clicked from.
[pr0n] / perl / Sesse / pr0n / Index.pm
index 68c6a10d386eacb35f193cd51464951f816c4793..3f9e52498e9be02a5338a611c75c5e960d2dbf3f 100644 (file)
@@ -364,7 +364,7 @@ sub handler {
                        } else {
                                $io->print("     ");
                        }
-                       $io->print("<a href=\"$prefix$uri\" onclick=\"location.href='$prefix$fsquery';return false;\"><img src=\"$prefix${thumbxres}x${thumbyres}/$filename\" alt=\"\"$imgsz /></a>\n");
+                       $io->print("<a href=\"$prefix$uri\" id=\"$img_num\" onclick=\"location.href='$prefix$fsquery';return false;\"><img src=\"$prefix${thumbxres}x${thumbyres}/$filename\" alt=\"\"$imgsz /></a>\n");
                
                        if ($rot == 1) {
                                $io->print("      90 <input type=\"checkbox\" name=\"rot-" .