Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Prevent page jumping when switching tabs
weronka699420702ed1
diff --git a/saleor/static/js/storefront.js b/saleor/static/js/storefront.jsindex 4a60d6cf06..619180684f 100644--- a/saleor/static/js/storefront.js+++ b/saleor/static/js/storefront.js@@ -138,7 +138,7 @@ $('.nav-tabs a').click((e) => {$(this).tab('show');});-$("ul.nav-tabs li a").on("shown.bs.tab", (e) => {+$("ul.nav-tabs li a:not:first-of-type").on("shown.bs.tab", (e) => {var id = $(e.target).attr("href").substr(1);window.location.hash = id;});