update
This commit is contained in:
parent
3f411e071f
commit
6d23afe41f
1 changed files with 5 additions and 1 deletions
|
@ -73,7 +73,11 @@ impl LinkWidget {
|
|||
self.hx_get(&url)
|
||||
.hx_target(Selector::Query("#main_content".to_string()))
|
||||
.hx_push_url()
|
||||
.hx_swap(SwapStrategy::innerHTML)
|
||||
.hx_swap(
|
||||
SwapStrategy::innerHTML
|
||||
.focus_scroll(true)
|
||||
.show("window:top"),
|
||||
)
|
||||
.hx_boost()
|
||||
.hx_disabled_elt(Selector::This)
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue