Remove dead code related to unused variable in spree: expand_variants

This commit is contained in:
luisramos0
2019-07-29 14:14:43 +01:00
parent 9bc81f236c
commit 4867649fc9
2 changed files with 0 additions and 6 deletions

View File

@@ -29,8 +29,5 @@
%div{"data-hook" => "admin_order_edit_form"}
= render :partial => 'form', :locals => { :order => @order }
- content_for :head do
= javascript_tag 'var expand_variants = true;'
:coffee
angular.bootstrap(document.getElementById("links-dropdown"),['admin.dropdown'])

View File

@@ -21,6 +21,3 @@
- unless @order.line_items.any?
%div
= render 'form'
- content_for :head do
= javascript_tag 'var expand_variants = true;'