mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Remove useless id attribute. Prefer to use data-value directly.
This commit is contained in:
@@ -11,6 +11,6 @@
|
||||
- classes = @selected.include?(option[1]) ? "selected" : ""
|
||||
%div.menu_item{ class: classes, "data-multiple-checked-select-target": "option", "data-value": option[1], "data-label": option[0] }
|
||||
%span.check
|
||||
%span.name{id: option[1]}
|
||||
%span.name
|
||||
= option[0]
|
||||
%div{style: "display: none;", "data-multiple-checked-select-target": "inputs"}
|
||||
|
||||
Reference in New Issue
Block a user