Skip to content
Browse files

add body.click callback to hide popover

  • Loading branch information...
1 parent d70ce88 commit 4b059665dd445fb75d9963f576bf56a0cf0a94b3 @brandonmwest committed Mar 31, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 public/js/default.js
View
2 public/js/default.js
@@ -9,7 +9,7 @@ $(function() {
if($('.endpoint').length==0) {
$('#addEndpoint').popover({"trigger":"manual", "content":"Get started by adding your first endpoint!", "placement":"bottom"});
$('#addEndpoint').popover('show');
- $('#addEndpoint').click(hideEndpointPopover);
+ $('body').click(hideEndpointPopover);
}
//save file button

0 comments on commit 4b05966

Please sign in to comment.
Something went wrong with that request. Please try again.