Sha256: 5ba7c06d1cd4f2d13fc61ffc00641305ca4a73fb3c90348f1c6988f73aa60a42
Contents?: true
Size: 498 Bytes
Versions: 13
Compression:
Stored size: 498 Bytes
Contents
$ -> # Handle cancel on payment form $(".nimbleshop-payment-method-form .cancel").click -> $this = $(this) div = $this.closest(".nimbleshop-payment-method-form-well") div.hide() if div.length false # edit a payment form $(".nimbleshop-payment-method-edit").click -> $this = $(this) well = $this.parent("div").find(".nimbleshop-payment-method-form-well") if well.length if well.is(":visible") well.hide() else well.show() false
Version data entries
13 entries across 13 versions & 1 rubygems