vendor/assets/js/foundation.toggler.js.es6 in foundation-rails-6.2.4.0 vs vendor/assets/js/foundation.toggler.js.es6 in foundation-rails-6.3.0.0
- old
+ new
@@ -94,24 +94,27 @@
*/
this.$element.trigger('off.zf.toggler');
}
this._updateARIA(isOn);
+ this.$element.find('[data-mutate]').trigger('mutateme.zf.trigger');
}
_toggleAnimate() {
var _this = this;
if (this.$element.is(':hidden')) {
Foundation.Motion.animateIn(this.$element, this.animationIn, function() {
_this._updateARIA(true);
this.trigger('on.zf.toggler');
+ this.find('[data-mutate]').trigger('mutateme.zf.trigger');
});
}
else {
Foundation.Motion.animateOut(this.$element, this.animationOut, function() {
_this._updateARIA(false);
this.trigger('off.zf.toggler');
+ this.find('[data-mutate]').trigger('mutateme.zf.trigger');
});
}
}
_updateARIA(isOn) {