fixed BUG-96 (no longer wrapped name of file for image viewer)
This commit is contained in:
@@ -63,6 +63,9 @@ function DrawImg()
|
||||
canvas.width=NewWidth(im)
|
||||
canvas.height=NewHeight(im)
|
||||
|
||||
// dont let caption be wider than image
|
||||
$('#img-cap').width(canvas.width)
|
||||
|
||||
// actually draw the pixel images to the canvas at the right size
|
||||
if( grayscale )
|
||||
context.filter='grayscale(1)'
|
||||
@@ -77,7 +80,6 @@ function DrawImg()
|
||||
if( $('#fname_toggle').prop('checked' ) )
|
||||
{
|
||||
// reset fname for new image (if navigated left/right to get here)
|
||||
$('#fname').html(PrettyFname(objs[current].url))
|
||||
$('.figcaption').show()
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user