mirror of
https://github.com/makew0rld/amfora.git
synced 2024-11-28 02:02:34 +03:00
🐛 Repeated redirects don't leave "Loading..." - fixes #53
This commit is contained in:
parent
2d99db371d
commit
2d81886dda
@ -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
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user