From 63e22b429080d159ce2143f7d5689ec2a5c7ae6d Mon Sep 17 00:00:00 2001 From: Glenn Vorhes <gavorhes@wisc.edu> Date: Mon, 19 Sep 2016 11:53:19 -0500 Subject: [PATCH] accept HTMLElement as input type for day range --- src/jquery-plugin/day-range.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jquery-plugin/day-range.js b/src/jquery-plugin/day-range.js index 7f33634..af416ea 100644 --- a/src/jquery-plugin/day-range.js +++ b/src/jquery-plugin/day-range.js @@ -10,7 +10,7 @@ class DayRange { /** * constructor for the date range * @param {number} dayRange number of days - * @param {jQuery} jQueryRef reference to the jquery element + * @param {jQuery|HTMLElement|*} jQueryRef reference to the jquery element */ constructor(dayRange, jQueryRef) { this._workingDayRange = dayRange - 1; -- GitLab