Mercurial > hg > mgallery
diff mgallery.php @ 210:0a0a2936d779
Adjust image adjustment etc.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 22 Mar 2018 14:57:51 +0200 |
parents | 671b7cfebf87 |
children | 926779f93229 |
line wrap: on
line diff
--- a/mgallery.php Thu Mar 22 13:41:36 2018 +0200 +++ b/mgallery.php Thu Mar 22 14:57:51 2018 +0200 @@ -629,8 +629,9 @@ mgalAddEvent("pageInfoButton", "click", mgalOpenInfo); mgalAddEvent("pageImageBox", "click", mgalCloseInfo); -mgalAddEvent("imageImage", "load", mgalAdjustImageDo); +mgalAddEvent("imageImage", "load", mgalAdjustImage); mgalAddEventOb("window", window, "resize", mgalAdjustImage); +mgalAddEventOb("window", window, "load", mgalAdjustImage); mgalAddEventOb("document", document, "keypress", mgalProcessKeyPress); adjustPID = -1;