From: Abdullah Salem Date: Fri, 26 Feb 2016 00:53:47 +0000 (+0300) Subject: Fixed the top position of the dropdown X-Git-Tag: v6.2.1~67^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F8247%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Fixed the top position of the dropdown --- diff --git a/js/foundation.util.box.js b/js/foundation.util.box.js index cb2756433..71ca28966 100644 --- a/js/foundation.util.box.js +++ b/js/foundation.util.box.js @@ -115,7 +115,7 @@ function GetOffsets(element, anchor, position, vOffset, hOffset, isOverflow) { switch (position) { case 'top': return { - left: (Foundation.rtl() ? $anchorDims.offset.left - $eleDims.width + $anchorDims.width : $anchorDims.offset.left), left: $anchorDims.offset.left, + left: (Foundation.rtl() ? $anchorDims.offset.left - $eleDims.width + $anchorDims.width : $anchorDims.offset.left), top: $anchorDims.offset.top - ($eleDims.height + vOffset) } break;