reddit/reddit — pull request #366 by ughblah (2012-03-08 06:38:26+00:00)
Title: Fix for issue #324

cancel_usertext() was hiding the first usertext item but when this was done on a child element after an edit was saved, it was finding the first hidden edit usertext item instead of itself. Changed it to find the closest usertext from the cancel button so it'll only hide itself, not the first if there are preceding ones.

Fix for issue #324.