bevacqua / rome

:calendar: Customizable date (and time) picker. Opt-in UI, no jQuery!

Home Page:https://bevacqua.github.io/rome

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

IE11

cpt-chewieeee opened this issue · comments

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

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

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

thank you for your quick response 👍