]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Update foundation.dropdown.js 5986/head
authorCorey Snyder <corey@tangerineindustries.com>
Thu, 30 Oct 2014 14:04:46 +0000 (10:04 -0400)
committerCorey Snyder <corey@tangerineindustries.com>
Thu, 30 Oct 2014 14:04:46 +0000 (10:04 -0400)
Changes to fix medium grid break-point

js/foundation/foundation.dropdown.js

index adae88a20be37f1936be94f05a0541c19113b6d9..389a2abc83d159fa3aa0c873118c0a2c19be5d49 100644 (file)
                        
                        //miss right
                        if (t.offset().left + this.outerWidth() > t.offset().left + actualMarginWidth && t.offset().left - actualMarginWidth > this.outerWidth()) {
-                               if (p.missTop == true) {
                                        p.missRight = true;
                                        p.missLeft = false;
-                               }
                        }
                        
                        //miss left
                        if (t.offset().left - this.outerWidth() <= 0) {
-                               if (p.missTop == true) {
                                        p.missLeft = true;
                                        p.missRight = false;
-                               }
                        }
                }