1var options = 2{ 3 tabs_wrapper: ".line-block", 4 tab_item: "> .line-block__item", 5} 6 7InitLinkScroll = function () { 8 $(".dropdown-select__list").scrollTab(options); 9 }; 10 11 readyDOM(function () { 12 InitLinkScroll(); 13 }); 14 15 BX.addCustomEvent("onScrollTabInit", function (eventdata) { 16 const stOb = $(eventdata.tab).data("scrollTabOptions"); 17 stOb.activeTab = $(eventdata.tab).find(".head-block__item--active"); 18 19 const activeTabBounds = stOb.activeTab[0].getBoundingClientRect(); 20 21 const offset = stOb.arrows.arrow_width + 5; // offset from arrows 22 if (activeTabBounds.right + offset > stOb.scrollBounds.right) { 23 stOb.directScroll(stOb.scrollBounds.right - (activeTabBounds.right + offset), 0); 24 } 25 }); 26
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.