diff --git a/resources/js/client-custom/windowLoader.js b/resources/js/client-custom/windowLoader.js index e27b910..ba5c463 100644 --- a/resources/js/client-custom/windowLoader.js +++ b/resources/js/client-custom/windowLoader.js @@ -46,7 +46,7 @@ window.addEventListener('load', function () { console.error('Error sending data:', error); }); } else { - console.log('Data was sent recently. Skipping this time.'); + // console.log('Data was sent recently. Skipping this time.'); } diff --git a/resources/js/client-vue/SearchableMultiSelect2.vue b/resources/js/client-vue/SearchableMultiSelect2.vue index 1b6abf1..c4f8248 100644 --- a/resources/js/client-vue/SearchableMultiSelect2.vue +++ b/resources/js/client-vue/SearchableMultiSelect2.vue @@ -17,7 +17,7 @@ {{ item[titleField] }} @@ -39,7 +39,7 @@ {{ item[titleField] }} diff --git a/resources/js/components/SearchableMultiSelect.vue b/resources/js/components/SearchableMultiSelect.vue index bd01689..bb868d9 100644 --- a/resources/js/components/SearchableMultiSelect.vue +++ b/resources/js/components/SearchableMultiSelect.vue @@ -17,7 +17,7 @@ {{ item[titleField] }} @@ -39,7 +39,7 @@ {{ item[titleField] }} diff --git a/resources/js/components/SearchableSelect.vue b/resources/js/components/SearchableSelect.vue index cfb8333..17173e2 100644 --- a/resources/js/components/SearchableSelect.vue +++ b/resources/js/components/SearchableSelect.vue @@ -16,7 +16,7 @@ {{ item[titleField] }} @@ -39,7 +39,7 @@ {{ item[titleField] }} diff --git a/resources/views/segments/product_grid/DefaultProductGrid/DefaultProductGrid.blade.php b/resources/views/segments/product_grid/DefaultProductGrid/DefaultProductGrid.blade.php index f681321..0193986 100644 --- a/resources/views/segments/product_grid/DefaultProductGrid/DefaultProductGrid.blade.php +++ b/resources/views/segments/product_grid/DefaultProductGrid/DefaultProductGrid.blade.php @@ -29,7 +29,7 @@
@if($product->stock_status == 'IN_STOCK') + class="btn btn-primary add-to-card w-100"> {{__("Add to card")}} diff --git a/resources/views/segments/slider/SliderSimple/SliderSimple.js b/resources/views/segments/slider/SliderSimple/SliderSimple.js index f4f72e1..47c6220 100755 --- a/resources/views/segments/slider/SliderSimple/SliderSimple.js +++ b/resources/views/segments/slider/SliderSimple/SliderSimple.js @@ -3,24 +3,28 @@ import {tns} from "tiny-slider/src/tiny-slider"; var sliderSimple ; document.addEventListener('DOMContentLoaded', () => { - document.querySelectorAll('.SliderSimple')?.forEach(function (el) { - if (el.classList.contains('.tns-slider')){ - console.log('ignore'); - return 'ignore'; - } - sliderSimple = tns({ - container: el, - items: 1, - autoplay: true, - autoplayButton: false, - // nextButton: false, - controls: false, - autoplayHoverPause: true, - mouseDrag: true, - slideBy: 1, - autoplayTimeout: 5000, - // speed:10000, - }); - }); + try { + document.querySelectorAll('.SliderSimple')?.forEach(function (el) { + if (el.classList.contains('.tns-slider')){ + console.log('ignore'); + return 'ignore'; + } + sliderSimple = tns({ + container: el, + items: 1, + autoplay: true, + autoplayButton: false, + // nextButton: false, + controls: false, + autoplayHoverPause: true, + mouseDrag: true, + slideBy: 1, + autoplayTimeout: 5000, + // speed:10000, + }); + }); + } catch { + } + });