Tempus-dominus: display:block style is not added when using jQuery 3.1

Created on 4 Sep 2016  路  2Comments  路  Source: Eonasdan/tempus-dominus

When using the latest version of jQuery, I'm not getting any errors- however the datepicker is not displaying. Inspecting the source, and swapping between jquery 2.x and 3.1, I noticed the only difference is that the bootstrap-datetimepicker-widget is not receiving an inline style of display:block on 3.1

Simple hack for the time being:

/* jquery 3 hack fix */
.bootstrap-datetimepicker-widget {
  display: block;
}

Most helpful comment

I ended up having to do something a little different: div.datepicker > div { display: block; }

All 2 comments

I ended up having to do something a little different: div.datepicker > div { display: block; }

Closed in 34bc7cc

Was this page helpful?
0 / 5 - 0 ratings

Related issues

hmaidasani picture hmaidasani  路  5Comments

sabique picture sabique  路  5Comments

miraclebg picture miraclebg  路  3Comments

justqyx picture justqyx  路  3Comments

am11 picture am11  路  6Comments