redaemn/jquery-mobile — comment on commit 1559478aae179850bb40c6da7a224407cec2f9d3
File: js/jquery.mobile.degradeInputs.js line 32
By johnbender:

@redaemn

After staring at this for a while and trying to move this out to a page prototype function I've concluded that using `closest` is really the best solution. If you want to go ahead and update the pull request I can merge it in later.