Hello and thank you for your question.
can be transmitted through a wound, scratch or abrasion when it comes in contact with the saliva of a rabid animal, and through a scratch inflicted by an animal if fresh saliva is on the nail of the animal that inflicts the scratch. Immediate and thorough cleaning of the wound is essential. Flush with a strong stream of water. Wash well with soap or detergent. Next, apply a disinfectant (isopropyl alcohol, tincture of iodine
or quaternary ammonium compounds) to the wound and surrounding tissue, taking care to get it under skin flaps. Then, take the person to a doctor or emergency room. Rabies is always fatal especially if not treating within 48 hours of the incident.
Since this dog was in a hotel and owned by someone most likely it had been up to date with its rabies shots. Also since the dog was facing your child and the child was scratched on the back of the leg, this was most likely caused by a separate event. I would think that rabies shots would not be necessary. The animal if sick with rabies, would have tried to attach your child, you and your husband.