1import {$} from '../utils/globals.js'; 2 3$('.js-contacts-office-filter').on('change', function () { 4 const $this = $(this); 5 const office = $this.val(); 6 7 8 const $container = $this.closest('.js-contacts-container'); 9 10 const $groups = $container.find('.js-contacts-group'); 11 12 if (! office) { 13 $groups.show(); 14 15 return; 16 } 17 18 const $selected = $container.find(`.js-contacts-group[data-office="${office}"]`); 19 20 $groups.hide(); 21 $selected.show(); 22});
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.