Skip to content

Commit

Permalink
Fixed hiding popover bugs when buttons is clicked in air-popover
Browse files Browse the repository at this point in the history
  • Loading branch information
hackerwins committed Dec 1, 2015
1 parent e14d82f commit 025ad32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/bs3/module/AirPopover.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ define([
self.hide();
},
'summernote.focusout': function (we, e) {
if (!e.relatedTarget || !dom.ancestor(e.relatedTarget, func.eq($editingArea[0]))) {
if (!e.relatedTarget || !dom.ancestor(e.relatedTarget, func.eq(self.$popover[0]))) {
self.hide();
}
}
Expand Down

0 comments on commit 025ad32

Please sign in to comment.