Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
immortalist
/
wp-content
/
themes
/
woodmart
/
js
/
scripts
/
wc
:
swatchesLimit.min.js
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
!function(o){woodmartThemeModule.$document.on("wdShopPageInit wdArrowsLoadProducts wdLoadMoreLoadProducts wdProductsTabsLoaded wdSearchFullScreenContentLoaded wdRecentlyViewedProductLoaded wdQuickViewOpen",function(){woodmartThemeModule.swatchesLimit()}),woodmartThemeModule.swatchesLimit=function(){o(".wd-swatch-divider, .wd-product .wd-swatches-product:not(.wd-all-shown) .wd-swatch").on("click",function(){var d,e=o(this).parent();(e.parents(".wd-swatches-single").length||e.hasClass("wd-swatches-single")?((d=e.parents(".variations_form")).find(".wd-swatches-single").removeClass("wd-swatches-limited").addClass("wd-all-shown"),d):(e.addClass("wd-all-shown"),e)).find(".wd-swatch").removeClass("wd-hidden"),e.parents(".wd-products.grid-masonry").length&&void 0!==o.fn.isotope&&e.parents(".wd-products.grid-masonry").isotope("layout"),woodmartThemeModule.$document.trigger("wood-images-loaded")})},o(document).ready(function(){woodmartThemeModule.swatchesLimit()})}(jQuery);