zooniverse / condorwatch

1 stars 1 forks source link

Remove images when marking point shrinks #78

Closed edpaget closed 9 years ago

edpaget commented 9 years ago

Fixes #77

Basically as users on memory constrained computers added more points there would be more and more copies of the magnified image in memory causing the site to slow as users' computer ran low on memory.

This just removes the magnified image when the marking point is deselected and adds it back when the point is reselected. It seems to solve the problem.

brian-c commented 9 years ago

Thanks Ed. Is this deployed?

edpaget commented 9 years ago

Yeah I think it should be. On Oct 8, 2014 4:25 AM, "Brian Carstensen" notifications@github.com wrote:

Thanks Ed. Is this deployed?

— Reply to this email directly or view it on GitHub https://github.com/zooniverse/condors/pull/78#issuecomment-58331801.