jonthornton/jquery-timepicker — pull request #41 by vikynandha (2012-10-21 07:53:58+00:00)
Title: Intelligent calculation of z-index rather than setting to arbitrary high value

Z-index was being set to some arbitrarily high value in CSS. Thought it works in most cases, it would break when some container has even higher z-index (like in http://jsfiddle.net/Qkgxu/5/). Fixed it by setting it to a value 10 units more than the z-index of the closest ancestor with non-auto z-index.