$target.addClass('is-active').attr({'aria-hidden': false})
.parent('.is-accordion-submenu-parent').attr({'aria-expanded': true});
- Foundation.Move(this.options.slideSpeed, $target, function() {
+ //Foundation.Move(this.options.slideSpeed, $target, function() {
$target.slideDown(_this.options.slideSpeed, function () {
/**
* Fires when the menu is done opening.
*/
_this.$element.trigger('down.zf.accordionMenu', [$target]);
});
- });
+ //});
}
/**
*/
up($target) {
var _this = this;
- Foundation.Move(this.options.slideSpeed, $target, function(){
+ //Foundation.Move(this.options.slideSpeed, $target, function(){
$target.slideUp(_this.options.slideSpeed, function () {
/**
* Fires when the menu is done collapsing up.
*/
_this.$element.trigger('up.zf.accordionMenu', [$target]);
});
- });
+ //});
var $menus = $target.find('[data-submenu]').slideUp(0).addBack().attr('aria-hidden', true);