theonlychase
6/18/2018 - 3:35 PM

Loop through all elements with same class and change location of child

Script needed to move only the specific child of each looped element, otherwise it would move every single child element.

nextQuery("body.nextProductList .tileContent").each(function() {     
    	nextQuery(this).find(".nextPrice").insertBefore(nextQuery(this).find(".nextStatus"));
});