fixes #1074 activeElement is breaking $.contains() method
fixes #1074 activeElement is breaking $.contains() method

fixes #1074 for activeElement is breaking $.contains() method for lower version of jQuery 1.7 but it works well with jQuery 2.1.3.

[https://codepen.io/amitesh/pen/PRLwvQ](Sample code on CodePen)
amsul/pickadate.js,amsul/pickadate.js