mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-04-06 07:29:16 +00:00
Remove dead code related to unused variable in spree: expand_variants
This commit is contained in:
@@ -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'])
|
||||
|
||||
@@ -21,6 +21,3 @@
|
||||
- unless @order.line_items.any?
|
||||
%div
|
||||
= render 'form'
|
||||
|
||||
- content_for :head do
|
||||
= javascript_tag 'var expand_variants = true;'
|
||||
|
||||
Reference in New Issue
Block a user