From 6e720468d631191b98fc397ebd48d2cce71f5312 Mon Sep 17 00:00:00 2001 From: Stefan Daschek Date: Wed, 15 May 2013 15:12:51 +0300 Subject: [PATCH] Remove event handler for close button on hide Fixes lecar-red/bootstrapx-clickover#28 --- js/bootstrapx-clickover.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/bootstrapx-clickover.js b/js/bootstrapx-clickover.js index c98ae01..855a180 100644 --- a/js/bootstrapx-clickover.js +++ b/js/bootstrapx-clickover.js @@ -109,6 +109,7 @@ this.$element.removeAttr('data-clickover-open'); this.options.esc_close && $(document).unbind('keyup.clickery'); + this.tip().off('click', '[data-dismiss="clickover"]', $.proxy(this.clickery, this)); $('body').off( this.attr.click_event_ns );