Complex sentence: Brooks tolerated Barney's casual affairs well enough to tease her about them, and had a few of her own over the years, but could become jealous when a new love became serious.
Split into simpler sentences: Brooks tolerated Barney's casual affairs well enough to tease her about them, and had a few of her own over the years. She could become jealous when a new love became serious.