vendor/assets/javascripts/base/_layout.js in active_frontend-16.0.24 vs vendor/assets/javascripts/base/_layout.js in active_frontend-16.1.0

- old
+ new

@@ -45,9 +45,12 @@ var target = $(options.target); var toggle = 'out'; if (target.hasClass('hidden') || target.is(':hidden') || target.css('visibility') === 'hidden') { toggle = 'in'; + _self.$element.addClass('active'); + } else { + _self.$element.removeClass('active'); } var effect = options.effect + '-' + toggle + '-' + options.direction; _self.togglePosition('fixed');