Democrats (briefly) remove reference to Jerusalem as Israel's capital by Jay Knott (09/06/12) ⇌ (Israel and the US)
If they hadn't put it back in again, they would definitely have lost the election.
But there's still no guarantee. As George Bush senior discovered, it's not which party you run for, it's how much you grovel to the Lobby. In 1992, the Democrats groveled more. Today, it's the Republicans.