Skip to content

Commit

Permalink
fix event popup
Browse files Browse the repository at this point in the history
  • Loading branch information
truonglocbinh committed Feb 2, 2016
1 parent 6053c84 commit 0aa7a2a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ pickle-email-*.html
/config/database.yml
/public/uploads
config/settings.local.yml
config/settings/social_keys.yml
config/social_keys.yml
config/settings/*.local.yml
config/environments/*.local.yml
.DS_Store
Expand Down
4 changes: 4 additions & 0 deletions app/assets/javascripts/calendar/custom.js
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,10 @@ $(document).ready(function() {
e.stopPropagation();
});

$(document).on("click", "#event-preview-popup", function(e){
e.stopPropagation();
});

$(document).on("click", "body", function(e){
EventPopup.css({"visibility": "hidden"});
EventPreviewPopup.css({"visibility": "hidden"});
Expand Down

0 comments on commit 0aa7a2a

Please sign in to comment.