No need to worry. Rabies viruses enter the body via blood stream when a rabid dog bites a person. Unless the dog is rabid and the child had bleeding ulcers in the oral cavity, the viruses will not be a danger. In any case since the dog is pet, it can hardly be rabid.