Download plugin from FTP
This commit is contained in:
@@ -3029,9 +3029,9 @@ function initSlider(selector, options) {
|
||||
|
||||
}));
|
||||
|
||||
setTimeout(function () {
|
||||
/*setTimeout(function () {
|
||||
initSlider(selector, options);
|
||||
}, 250);
|
||||
}, 250);*/
|
||||
}
|
||||
}
|
||||
//DONGND:: create option for slick slider of modal popup at product page
|
||||
@@ -4208,4 +4208,21 @@ function customSticky() {
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
$(document).ready(function() {
|
||||
var sizeTabLink = $('.product-tabs .nav-link[href="#extra-0"]');
|
||||
|
||||
if (sizeTabLink.length) {
|
||||
var sizeTableBtn = $('<a href="#" class="btn btn-outline-secondary mb-1 product-size-tab" style="display:block;">TABELA ROZMIARÓW</ф>');
|
||||
|
||||
$('.product-variants').after(sizeTableBtn);
|
||||
|
||||
sizeTableBtn.on('click', function() {
|
||||
sizeTabLink.tab('show');
|
||||
|
||||
var tabsOffset = $('.product-tabs').offset().top;
|
||||
$('html, body').animate({ scrollTop: tabsOffset - 100 }, 600);
|
||||
});
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user