title: Listen to click event in Bootstrap DatetimePicker
body: <p>Using <a href="http://eonasdan.github.io/bootstrap-datetimepicker/" rel="nofollow">http://eonasdan.github.io/bootstrap-datetimepicker/</a> I can't listen to a click event from inside the datepicker itself.</p>
  
  <p><a href="https://jsfiddle.net/minlare/6mxsgrqh/" rel="nofollow">https://jsfiddle.net/minlare/6mxsgrqh/</a></p>
  
  <pre><code>$('input').datetimepicker();
  $(document).on('click', function(e){
      console.log('clicked', e);
  });
  </code></pre>
  
  <p>The click event does not propagate to the document when clicking inside the datetimepicker and I cannot see where the event is prevented from propagating.</p>