bevacqua / rome

:calendar: Customizable date (and time) picker. Opt-in UI, no jQuery!
https://bevacqua.github.io/rome
MIT License
2.91k stars 223 forks source link

IE11 #158

Closed cpt-chewieeee closed 8 years ago

cpt-chewieeee commented 8 years ago

I am testing rome calendar on IE11, but nothing is showing up. Does rome support IE11?

cpt-chewieeee commented 8 years ago

So I try the demo and it works for IE11.

Here's my code:

Deadlines (require): <input class="deadline" id="deadline"> rome(deadline);

This works in chrome, but in IE11, i get 'deadline' is undefined

bevacqua commented 8 years ago

You should find DOM elements using deadline = document.querySelector('.deadline') instead of relying on window.deadline to exist based on the input's id.

cpt-chewieeee commented 8 years ago

thank you for your quick response :+1: