Its really frustrating to see people react with little or no knowledge about dogs and dog behavior, who are basically ignorant when it comes to animals. If you are not a big animal fan or don't treat your pets as a member of the family then you have no clue. Its very ignorant to respond and say... Put the dog down or get rid of it. That shows a lack of judgment and compassion. There are a lot of people out there that do not get that to most animal lovers is when we adopt or take on a pet it becomes part of the family. To say get rid of the dog because it bit the kid is like saying get rid of one kid because it hurt the other kid. They also don't get the animal has become attatched to this family and thinks this family is it's PACK. To get rid of the dog will believe it or not leave emotional scarring on the animal. Animals are a lot like children. They get jealous of each other, they get territorial over parents and who they share their affections with and they don't always like to share their toys.  
Not all but a lot of dog bites are cause by a lack of training or no training at all. Different breeds need different training. When we took our dog to dog school we were shocked to find a simple game of tug of war with a certain breed could lead to making them become more aggressive. They are not JUST animals they are living beings who share and have emotions. 
HERE'S AN IDEA OF WHAT TO DO IF YOU ARE IN THE SAME SITUATION WITH DOGS & KIDS:  
My brother and his wife own 2 dogs that sometimes will snap at their 2 yr old. They keep baby gates EVERYWHERE.... if their little girl is going to be in a certain room or part of the house they close the baby gates so the dogs can't be in there. If they do let her around the dogs they keep a close eye on her but they try not to do it in a way where it will frighten her. They don't want her to grow up with a fear of dogs or any animal for that matter. (these are gates that actually are installed in the wall and you can open and shut them without as much hassle) They even have a gate in front of the childs room so she can play with the door open without worry of them coming in there. And they constantly teach her about the dogs and what she is allowed to do and not do around them or around any animal. You don't have to choose between the two.