Use anchors instead of start= on fullscreen link; fixes the close button.
[pr0n] / perl / Sesse / pr0n / Index.pm
index ad3af8fc088d86ecdb71b290965024de91c60fe5..68c6a10d386eacb35f193cd51464951f816c4793 100644 (file)
@@ -343,8 +343,8 @@ sub handler {
                        # Add fullscreen link.
                        my %fssettings = %settings;
                        $fssettings{'fullscreen'} = 1;
-                       $fssettings{'start'} = $img_num;
                        my $fsquery = Sesse::pr0n::Common::get_query_string(\%fssettings, \%defsettings);
+                       $fsquery .= '#' . $img_num;
 
                        my $filename = $ref->{'filename'};
                        my $uri = $filename;