Corrected timepickr dynamic location

--HG--
branch : dev
This commit is contained in:
Sébastien Ros
2010-09-26 13:59:10 -07:00
parent 261a544d0a
commit 98ec5307b1

View File

@@ -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
);
}