If you're lucky, it's just the fuse that's gone. Many of these inverters have a rectifier diode connected after the fuse in parallel with the input supply (reverse biased, of course) and when connected in the wrong polarity, the diode shunts the current and hopefully blows up the fuse. Worse case, the diode fails short-circuit.