diff --git a/js/office.js b/js/office.js index 149ad71b..2bfb8d97 100644 --- a/js/office.js +++ b/js/office.js @@ -113,7 +113,8 @@ var officeMain = { } ); }, - onInvite: function() { + onInvite: function(event) { + event.preventDefault(); $('#invite-block').toggle(); }, sendInvite: function() {