From: xfifix Date: Thu, 3 Mar 2016 15:17:26 +0000 (+0100) Subject: fix orbit navigation X-Git-Tag: v6.2.1~52^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a19eded11a2a8c64b7bbbb4b095b06bd760645d;p=thirdparty%2Ffoundation%2Ffoundation-sites.git fix orbit navigation --- diff --git a/js/foundation.orbit.js b/js/foundation.orbit.js index 32bcdbf60..5138d80cb 100644 --- a/js/foundation.orbit.js +++ b/js/foundation.orbit.js @@ -201,6 +201,7 @@ class Orbit { $controls.attr('tabindex', 0) //also need to handle enter/return and spacebar key presses .on('click.zf.orbit touchend.zf.orbit', function(){ + e.preventDefault(); _this.changeSlide($(this).hasClass(_this.options.nextClass)); }); }