ushahidi/Ushahidi_Web — pull request #1238 by ditorelo (2013-09-11 00:45:19+00:00)
Title: Fixing timeline js timing out (#483)

Issue is being caused by selectToUISlider() plugin. It calls a jQuery::width() on each of the elements it creates for the month names (it can go up to quite a few on large time spans)

Updated function to call jQuery::width() only on the first element of the set, and letting jQuery handle the css() call for the whole collection. I suspect it will use each() internally, but I also suspect it will have smarts to do it more efficiently.