BUGFIX: Fix retweeted-by button trying to open 2 pages simultaneously (user feed and the retweeted tweet)
This commit is contained in:
parent
f4ccc075f6
commit
9bb751afa5
@ -33,7 +33,7 @@ pipeline:
|
||||
- ./compile.sh
|
||||
- ./tw --profile ../sample_data/profile --addr localhost:1000 webserver &
|
||||
- sleep 1
|
||||
- curl localhost:1000/cernovich
|
||||
- curl localhost:1000/cernovich > webserver_test_output.html
|
||||
- jobs -p | xargs -I{} kill -- -{}
|
||||
|
||||
version_bump_test:
|
||||
|
@ -13,7 +13,7 @@
|
||||
{{if (not (eq .RetweetID 0))}}
|
||||
{{$retweet := (retweet .RetweetID)}}
|
||||
{{$retweet_user := (user $retweet.RetweetedByID)}}
|
||||
<div class="retweet-info-container">
|
||||
<div class="retweet-info-container" hx-trigger="click consume">
|
||||
<img class="svg-icon" src="/static/icons/retweet.svg" />
|
||||
<span class="retweeted-by-label">Retweeted by</span>
|
||||
<a class="retweeted-by-user" hx-get="/{{$retweet_user.Handle}}" hx-target="body" hx-swap="outerHTML" hx-push-url="true">
|
||||
|
Loading…
x
Reference in New Issue
Block a user