From 98ec5307b18a0e3649b742e1fca82efceca09ce8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Ros?= Date: Sun, 26 Sep 2010 13:59:10 -0700 Subject: [PATCH] Corrected timepickr dynamic location --HG-- branch : dev --- .../Modules/Orchard.jQuery/Scripts/ui.timepickr.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Orchard.Web/Modules/Orchard.jQuery/Scripts/ui.timepickr.js b/src/Orchard.Web/Modules/Orchard.jQuery/Scripts/ui.timepickr.js index 1c580790d..96d3d3001 100644 --- a/src/Orchard.Web/Modules/Orchard.jQuery/Scripts/ui.timepickr.js +++ b/src/Orchard.Web/Modules/Orchard.jQuery/Scripts/ui.timepickr.js @@ -157,8 +157,8 @@ Dependencies if (width) { this._dom.menu.css( 'left', - pos.left + elementWidth < windowWidth - ? pos.left - width + elementWidth + pos.left + width < windowWidth + ? pos.left : windowWidth - width ); }