summaryrefslogtreecommitdiff
path: root/desktop/browser.c
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/browser.c')
-rw-r--r--desktop/browser.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/desktop/browser.c b/desktop/browser.c
index 8e311eee8..048eb4d66 100644
--- a/desktop/browser.c
+++ b/desktop/browser.c
@@ -397,6 +397,11 @@ void browser_window_callback(content_msg msg, struct content *c,
case CONTENT_MSG_AUTH:
gui_401login_open(bw, c, error);
+ if (c == bw->loading_content)
+ bw->loading_content = 0;
+ else if (c == bw->current_content)
+ bw->current_content = 0;
+ browser_window_stop_throbber(bw);
break;
default: