Development

As I'm using datetimepicker attached to an <a> element and not to an input (see screenshot) I was getting an error at datepicker setup time.

With this tiny patch it verifies if the element has an input among children elements otherwise it will rely on the datapicker element by itself to load default options.