It was a Nazi salute without a doubt. The only question is if it was accidental or intentional. Musk being a far-right operative and making a bunch of Nazi puns as his response instead of an apology for the misunderstanding makes it clear it was not an accident.
Doing PDF handling with jQuery? Yeah, it do be like that sometimes.