victorjonsson / Arlima

Article List Manager - Wordpress plugin suitable for online newspapers that's in need of a fully customizable front page
28 stars 16 forks source link

Fixed positioning of blockers on post editor #58

Closed marekwojtaszek closed 9 years ago

marekwojtaszek commented 9 years ago

During changing posts in Arlima list form on the right gets reloaded to present currently selected post. When new post has image with different dimensions that previously selected - blockers (marked in red) are positioned improperly, what can be seen on gif below:

blockers

That is happening because blocker divs are positioned before image gets loaded.

This fix is binding blockers positioning function to image loaded event so they get positioned after image takes it's place.

victorjonsson commented 9 years ago

Ah, great fix!