Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Forgot to port ruby style variable embedding to javascript's no exist…

…ent style.
  • Loading branch information...
commit 5f495253065988fdec4c686ab7cc0750f5fe5040 1 parent 1067d51
@sfcgeorge authored
View
4 app/views/spree/products/customizations/calculator/_curtain_area.html.erb
@@ -37,8 +37,8 @@
headings['fabric']['intpen']['305'] = [7.2, 10.8, 14.5, 16, 21.6, 27];
- making = headings['making']["#{heading_style}#{lining_style}"][round_drop][round_width_key];
- fabric_multiplier = headings['fabric']["#{heading_style}#{lining_style}"][round_drop][round_width_key];
+ making = headings['making']['heading_style'+'lining_style'][round_drop][round_width_key];
+ fabric_multiplier = headings['fabric']['heading_style'+'lining_style'][round_drop][round_width_key];
return making + (fabric_multiplier * variant.price);
}
Please sign in to comment.
Something went wrong with that request. Please try again.