diff --git a/daterangepicker.js b/daterangepicker.js index 158d7fd9..9b71ac63 100644 --- a/daterangepicker.js +++ b/daterangepicker.js @@ -97,7 +97,7 @@ options = $.extend(this.element.data(), options); //html template for the picker UI - if (typeof options.template !== 'string') + if (typeof options.template !== 'string' && !(options.template instanceof jQuery)) options.template = '