lubieniebieski/bootstrap-datetimepicker-rails — pull request #6 by mfrederickson (2013-04-14 03:47:41+00:00)
Title: only call addClass/removeClass on icon when icon defined

In certain instances, the icon was not being found and javascript was throwing an error "cannot call method addClass/removeClass of undefined".