summaryrefslogtreecommitdiff
path: root/pages/shop/_product/index.fnl
diff options
context:
space:
mode:
Diffstat (limited to 'pages/shop/_product/index.fnl')
-rw-r--r--pages/shop/_product/index.fnl5
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"}