1
0
mirror of https://github.com/makew0rld/amfora.git synced 2024-12-04 14:46:29 -05:00

🐛 Repeated redirects don't leave "Loading..." - fixes #53

This commit is contained in:
makeworld 2020-07-28 19:17:15 -04:00
parent 2d99db371d
commit 2d81886dda
2 changed files with 2 additions and 1 deletions

View File

@ -26,6 +26,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Any error that occurs when downloading a file will be displayed, and the partially downloaded file will be deleted
- Allow for opening a new tab while the current one is loading
- Pressing Escape after typing in the bottom bar no longer jumps you back to the top of the page
- Repeated redirects where the last one is cancelled by the user doesn't leave the `Loading...` text in the bottom bar (#53)
## [1.3.0] - 2020-07-10

View File

@ -319,7 +319,7 @@ func handleURL(t *tab, u string) (string, bool) {
if res.Status == gemini.StatusRedirectPermanent {
go cache.AddRedir(u, redir)
}
return handleURL(t, redir)
return ret(handleURL(t, redir))
}
return ret("", false)
case 40: