fullscreen flipping will scroll the window to right position

This commit is contained in:
q
2012-01-28 18:12:01 +02:00
parent 218ca2a975
commit 30d2007ecf

View File

@@ -468,9 +468,12 @@ function fliporiginals() {
function flipfullscreen() { function flipfullscreen() {
// show thumbrow / not // show thumbrow / not
if (fullscreen) if (fullscreen)
{ fullscreen=false; } { fullscreen=false;
document.getElementById('crumbcontainer').scrollIntoView(true); }
else else
{ fullscreen=true; } { fullscreen=true;
document.getElementById('imagecontainer').scrollIntoView(true); }
showimage(currentimage); showimage(currentimage);
} }