mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-20 00:37:26 +00:00
Bring and require select2 from spree_backend
This commit is contained in:
7
app/assets/javascripts/admin/spree/spree-select2.js.erb
Normal file
7
app/assets/javascripts/admin/spree/spree-select2.js.erb
Normal file
@@ -0,0 +1,7 @@
|
||||
//= require select2
|
||||
jQuery(function($) {
|
||||
// Make select beautiful
|
||||
$('select.select2').select2({
|
||||
allowClear: true
|
||||
});
|
||||
})
|
||||
Reference in New Issue
Block a user