Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Comment unused chunks of code
dominik-zeglenf6a563658f5d
diff --git a/saleor/static/dashboard/js/dashboard.js b/saleor/static/dashboard/js/dashboard.jsindex c04cec50d9..8e7de8714c 100644--- a/saleor/static/dashboard/js/dashboard.js+++ b/saleor/static/dashboard/js/dashboard.js@@ -133,9 +133,9 @@ $(document).ready(function () {$('.modal').modal('close');});- function isTablet() {- return !$('.hide-on-med-only').is(':visible');- }+ // function isTablet() {+ // return !$('.hide-on-med-only').is(':visible');+ // }});Dropzone.options.productImageForm = {paramName: 'image',@@ -146,8 +146,8 @@ Dropzone.options.productImageForm = {previewTemplate: $('#template').html(),clickable: false,init: function () {- let $dropzoneMessage = $('.dropzone-message');- let $gallery = $('.product-gallery');+ // let $dropzoneMessage = $('.dropzone-message');+ // let $gallery = $('.product-gallery');this.on('success', function (e, response) {$(e.previewElement).find('.product-gallery-item-desc').html(response.image);