Implemented a javascript code style
This commit is contained in:
@@ -4,9 +4,9 @@ Template.newCharacterDialog.events({
|
||||
name: instance.find("#nameInput").value,
|
||||
gender: instance.find("#genderInput").value,
|
||||
race: instance.find("#raceInput").value,
|
||||
owner: Meteor.userId()
|
||||
owner: Meteor.userId(),
|
||||
}, function(err, id){
|
||||
if(err) throw err;
|
||||
if (err) throw err;
|
||||
Router.go("characterSheet", {_id: id});
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user