Adjust images in packed gallery on window resize
authorm4tx <m4tx@m4tx.pl>
Sun, 4 Jan 2015 07:32:52 +0000 (08:32 +0100)
committerBartosz Dziewoński <matma.rex@gmail.com>
Mon, 5 Jan 2015 14:59:18 +0000 (15:59 +0100)
commit3768d9a620cda02e163b69b282bdd66e60e6ae90
tree320c81529ff733be134f6672e79761166e43a8f0
parent910dcbc317721792216c9a26a31b0a9e5cecfc6b
Adjust images in packed gallery on window resize

Original element sizes are stored in data(), and on window resize,
they are restored, so elements can be justified as on just loaded
page.

Bug: T55664
Change-Id: I286e0a4c8230c11619ca30f8f3b66778de835a33
resources/Resources.php
resources/src/mediawiki.page/mediawiki.page.gallery.js