Bug 27016: Use $.fn.select2.defaults.set to set select2's width

See commit ff7318c62e
    Bug 27124: JS error "select2Width is not defined"

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Jonathan Druart 2021-01-04 16:24:21 +01:00
parent 2b02655817
commit ea1691268c

View file

@ -20,7 +20,7 @@
<body id="circ_request" class="catalog">
<script>
var select2Width = "100%";
$.fn.select2.defaults.set("width", "100%" );
</script>
[% INCLUDE 'header.inc' %]
[% INCLUDE 'circ-search.inc' %]