filamentgroup/jQuery-UI-Date-Range-Picker — pull request #20 by brewster1134 (2012-04-19 23:32:46+00:00)
Title: prevents throwing an error if no matching elements are found.

i use a generic $('.daterangepicker').daterangepicker(); throughout my entire site. for pages that dont have a .datepicker element, it was throwing an error. this change does a check for rangeInput.val() before it tries to extract the dates.