]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Fixed the position of the bottom-left aligned dropdown 8868/head
authorAbdullah Salem <abdullahsalem@outlook.com>
Mon, 30 May 2016 23:48:27 +0000 (02:48 +0300)
committerAbdullah Salem <abdullahsalem@outlook.com>
Mon, 30 May 2016 23:48:27 +0000 (02:48 +0300)
js/foundation.util.box.js

index 08ed1c6d27b7e451b8222577842ca4c52bbd5063..029362dd6031a15d09ef82b677b1748e84e9fa1d 100644 (file)
@@ -174,7 +174,7 @@ function GetOffsets(element, anchor, position, vOffset, hOffset, isOverflow) {
       break;
     case 'left bottom':
       return {
-        left: $anchorDims.offset.left - ($eleDims.width + hOffset),
+        left: $anchorDims.offset.left,
         top: $anchorDims.offset.top + $anchorDims.height
       };
       break;