diff options
| author | unwox <me@unwox.com> | 2025-12-30 20:45:24 +0600 |
|---|---|---|
| committer | unwox <me@unwox.com> | 2025-12-30 20:45:24 +0600 |
| commit | 8372560de77d180ccd12a7992615ba773b9ddce1 (patch) | |
| tree | b5f42c8c2ecbc1307496e2b848529028bc3c7f9a /pages/shop/_product | |
| parent | 048b41ebadfd455ebe7e3b83d49d4fce842e314d (diff) | |
Diffstat (limited to 'pages/shop/_product')
| -rw-r--r-- | pages/shop/_product/index.fnl | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/pages/shop/_product/index.fnl b/pages/shop/_product/index.fnl index 6903144..54ed076 100644 --- a/pages/shop/_product/index.fnl +++ b/pages/shop/_product/index.fnl @@ -62,10 +62,7 @@ ;; JS would require storing "back URL" in query parameter (which will make ;; URLs ugly and also hurt SEO) or in a cookie (which is brittle) ;; TODO: also add <noscript> version of this link - [:div {:class "back"} [:a {:href "#" - :onclick "history.length > 1 - ? history.back() - : location.assign('/shop')"} + [:div {:class "back"} [:a {:href "/shop"} "⟵ Обратно к списку"]] [:div {:class "product-page-layout"} |
