From b36097718a71c54dbe766cd3ddae72ba77c4fc14 Mon Sep 17 00:00:00 2001 From: Trent Richardson Date: Mon, 18 Apr 2011 09:52:06 -0400 Subject: [PATCH] Add fix by jduff for inline display --- jquery-ui-timepicker-addon.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jquery-ui-timepicker-addon.js b/jquery-ui-timepicker-addon.js index d72d90a..215e43a 100644 --- a/jquery-ui-timepicker-addon.js +++ b/jquery-ui-timepicker-addon.js @@ -490,7 +490,7 @@ $.extend(Timepicker.prototype, { if ($buttonPanel.length) $buttonPanel.before($tp); else $dp.append($tp); - this.$timeObj = $('#ui_tpicker_time_'+ dp_id); + this.$timeObj = $tp.find('#ui_tpicker_time_'+ dp_id); if (this.inst !== null) { var timeDefined = this.timeDefined;