A man who did not seek medical attention for his girlfriend’s nine-month-old baby when he noticed that she was injured has been jailed for 21 months.