]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Fixed the top position of the dropdown 8247/head
authorAbdullah Salem <abdullahsalem@outlook.com>
Fri, 26 Feb 2016 00:53:47 +0000 (03:53 +0300)
committerAbdullah Salem <abdullahsalem@outlook.com>
Fri, 26 Feb 2016 00:53:47 +0000 (03:53 +0300)
js/foundation.util.box.js

index cb2756433270ee3e17e428b5f7d472eaf0dc58ac..71ca289661d26576890cee9d3f74995983ed20c4 100644 (file)
@@ -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;