PageSourceSearch

https://iitk.ac.in/main/sites/all/modules/find_an_expert/assets/js/find_an_expert.js?v=1.x

js iitk.ac.in collected 2026-10-01 08:30:27 UTC 655 bytes, 18 lines download raw bytes

1(function ($, Drupal, drupalSettings, once) {
2    Drupal.behaviors.findAnExpertJs = {
3        attach: function (context) {
4            if (context === document) {
5                const chosen_select = $(once('js_components', '.chosen-select', context));
6                chosen_select.each(function () {
7                    $(this).select2({
8                        width: "100%", // Ensures full width on smaller screens
9                        minimumResultsForSearch: 10, // Adds search box only if options exceed 10
10                      });
11                });
12
13                
14            }
15
16        }
17    }
18})(jQuery, Drupal, drupalSettings, once);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.