Skip to content

Commit 116c6c2

Browse files
committed
Restore example to make it consistent in the examples
1 parent 9cbbd2a commit 116c6c2

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

www/content/extensions/idiomorph.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,9 @@ using `morph`, `morph:outerHTML` or `morph:innerHTML` as swap strategies.
5757

5858
```html
5959
<body hx-ext="morph">
60-
<button hx-get="/example" hx-swap="morph">Morph My Outer HTML</button>
60+
<button hx-get="/example" hx-swap="morph">
61+
Morph My Outer HTML
62+
</button>
6163

6264
<button hx-get="/example" hx-swap="morph:outerHTML">
6365
Morph My Outer HTML

0 commit comments

Comments
 (0)