ok, then check if the element with class "shopping-cart-wrapper" exists in the moment when you work with it
(let set javascript breakpoint at the line
if ($(".shopping-cart-wrapper").hasClass("show")) {
and check in console
$(".shopping-cart-wrapper").length
.png.022b5452a8f28f552bc9430097a16da2.png)