]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
added a-tag class qualifier ":not(.follow)" to allow a-tags to reference URL's outsid... 8675/head
authorH Kern <hkern0@gmail.com>
Tue, 26 Apr 2016 20:19:59 +0000 (13:19 -0700)
committerH Kern <hkern0@gmail.com>
Tue, 26 Apr 2016 20:19:59 +0000 (13:19 -0700)
js/foundation/foundation.accordion.js

index be0b194f59eac93842cfbb988bd6c0bb24724f08..2e6b38f91a1f2faeda96a7f5f3212c54003927be 100644 (file)
@@ -25,7 +25,7 @@
 
       S(this.scope)
       .off('.fndtn.accordion')
-      .on('click.fndtn.accordion', '[' + this.attr_name() + '] > dd > a, [' + this.attr_name() + '] > li > a', function (e) {
+      .on('click.fndtn.accordion', '[' + this.attr_name() + '] > dd > a:not(.follow), [' + this.attr_name() + '] > li > a:not(.follow)', function (e) {
         var accordion = S(this).closest('[' + self.attr_name() + ']'),
             groupSelector = self.attr_name() + '=' + accordion.attr(self.attr_name()),
             settings = accordion.data(self.attr_name(true) + '-init') || self.settings,