// added March 22, 2022
var toolbar = $('.search-reorder--toolbar');
if (toolbar.length > 0) {
var toolbarTop = toolbar.offset().top;
$(window).scroll(function(){
var scrolled = $(this).scrollTop();
console.log(toolbarTop);
console.log(scrolled);
if(scrolled >= toolbarTop){
toolbar.addClass('fixed');
}else{
toolbar.removeClass('fixed');
}
});
}
// end added March 22, 2022
/* added march 22, 2022 */
.search-reorder--toolbar.fixed {
position: fixed;
top: 0;
left: 0;
width: 100%;
background: #fff;
z-index: 9000;
padding: 20px;
border-bottom: 1px solid #eee;
}
/* end added march 22, 2022 */