vendor/assets/javascripts/base/_hoverdown.js in active_frontend-14.0.64 vs vendor/assets/javascripts/base/_hoverdown.js in active_frontend-14.0.65
- old
+ new
@@ -104,13 +104,19 @@
// HOVERDOWN DATA-API
// ==================
$(document).on('ready.bs.hoverdown.data-api', function () {
- $('[data-hover="dropdown"]').each(function () {
- var $this = $(this);
- if ($this.data('hoverdown')) return;
- Plugin.call($this, $this.data());
+ $('[data-hover="dropdown"]').each(function () {
+ var $this = $(this);
+ if ($this.data('hoverdown')) return;
+ Plugin.call($this, $this.data());
+ });
+ }).on('DOMCharacterDataModified.bs.hoverdown.data-api DOMSubtreeModified.bs.hoverdown.data-api DOMNodeInserted.bs.hoverdown.data-api', function () {
+ $('[data-hover="dropdown"]').each(function () {
+ var $this = $(this);
+ if ($this.data('hoverdown')) return;
+ Plugin.call($this, $this.data());
+ });
});
- });
}(jQuery);