Skip to content
This repository has been archived by the owner on Aug 18, 2021. It is now read-only.

Commit

Permalink
fixed missing parens on an event.preventDefault();
Browse files Browse the repository at this point in the history
  • Loading branch information
cwbuecheler committed Feb 11, 2014
1 parent de45885 commit 7b8a513
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/javascripts/global.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ function showUserInfo(event) {

// Add User
function addUser(event) {
event.preventDefault;
event.preventDefault();

// Super basic validation - increase errorCount variable if any fields are blank
var errorCount = 0;
Expand Down

0 comments on commit 7b8a513

Please sign in to comment.