Jump to content

Edit History

EvaF

EvaF

instead of

  if ($(".shopping-cart-wrapper").is(".show")) {

use  hasClass(class_name) ->    hasClass( "show")    
not  hasClass(selector)        ->     hasClass(".show")

  if ($(".shopping-cart-wrapper").hasClass("show")) {

 

EvaF

EvaF

instead of

  if ($(".shopping-cart-wrapper").is(".show")) {

use

  if ($(".shopping-cart-wrapper").hasClass("show")) {

 

×
×
  • Create New...