From a27b811b9f30b4bd74c8d6b9d0669d7b0109b2d9 Mon Sep 17 00:00:00 2001 From: John D Wells Date: Sat, 23 May 2020 08:36:09 -0500 Subject: [PATCH] Fix `hx-push-url` attribute --- www/docs.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/docs.md b/www/docs.md index b98bcadc..b7ea7339 100644 --- a/www/docs.md +++ b/www/docs.md @@ -361,10 +361,10 @@ event. Htmx provides a simple mechanism for interacting with the [browser history API](https://developer.mozilla.org/en-US/docs/Web/API/History_API): If you want a given element to push its request URL into the browser navigation bar and add the current state of the page -to the browser's history, include the [hx-push](/attributes/hx-push) attribute: +to the browser's history, include the [hx-push-url](/attributes/hx-push-url) attribute: ```html - Blog + Blog ``` When a user clicks on this link, htmx will snapshot the current DOM and store it before it makes a request to /blog.