Fixed issue #20

https://github.com/najlepsiwebdesigner/foundation-datepicker/issues/20