An apartment-block resident who smashed his neighbours’ windows with a bottle during a dispute over noise has been jailed for three months.