Yes, for my money, the second mistake was worse and really killed off the game.
Salah going down killed off the game, up to that point Liverpool was dominating.