1$(window).on('load', function uil_init_mo_header_gallery() { 2 3 $('.uil-mo-header-gallery__list').each(function () { 4 5 var $list = $(this), list_width = $list.width(); 6 7 // Удаление лиÑÐ½Ð¸Ñ ÑоÑо 8 var top = $list.find('> li:first-child').position().top; 9 $list.find('> li').each(function () { 10 var $item = $(this); 11 if ($item.position().top > top) 12 $item.remove() 13 }); 14 15 // Ðобавление недоÑÑаÑÑÐ¸Ñ ÑанÑомнÑÑ ÑоÑо 16 var item_width = $list.find('> li:first-child').outerWidth(); 17 var right_edge = $list.find('> li:last-child').position().left + item_width; 18 var i = 1; 19 while (list_width - right_edge > item_width && i <= 100) { 20 i++; 21 $list.append('<li class="uil-mo-header-gallery__list__item"></li>'); 22 right_edge = $list.find('> li:last-child').position().left + item_width; 23 } 24 25 }); 26 27});
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.