vendor/assets/javascripts/base/_hoverdown.js in active_frontend-14.1.22 vs vendor/assets/javascripts/base/_hoverdown.js in active_frontend-14.1.23

- old
+ new

@@ -5,11 +5,11 @@ // ========================== var Hoverdown = function (element, options) { this.$element = $(element); this.settings = { - delay: this.$element.data('delay'), - timeout: this.$element.data('timeout') + delay: this.$element.data('delay') || Hoverdown.DEFAULTS.delay, + timeout: this.$element.data('timeout') || Hoverdown.DEFAULTS.timeout }; this.options = $.extend({}, Hoverdown.DEFAULTS, this.settings, options); this.$parent = this.$element.parent(); this.$dropmenu = this.$parent.find('.dropmenu').first();