Skip to content

Commit

Permalink
Stop propagation on click on tooltip window.
Browse files Browse the repository at this point in the history
  • Loading branch information
roman-zaiats committed Mar 25, 2016
1 parent 0cd981c commit 11763d2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions bootstrap-confirmation.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,11 @@

$tip.find('.popover-title')[o.html ? 'html' : 'text'](this.getTitle());

$tip.on('click', function (e) {
e.preventDefault();
e.stopPropagation();
});

// configure 'ok' button
$tip.find('[data-apply="confirmation"]')
.addClass(o.btnOkClass)
Expand Down

0 comments on commit 11763d2

Please sign in to comment.