mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 03:25:23 +08:00
Corrected timepickr dynamic location
--HG-- branch : dev
This commit is contained in:
@@ -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
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user