Fixes the issues with unexpected error when user resizes the window of the browser.
Fixes the issues with unexpected error when user resizes the window of the browser.

Tartarus762/jquery-duration-picker