--- src/surf/surf.c	2010-04-27 20:43:27.000000000 +0000
+++ surf.c	2010-04-27 20:44:57.000000000 +0000
@@ -420,11 +420,11 @@ linkhover(WebKitWebView *v, const char*
 
 void
 loadstatuschange(WebKitWebView *view, GParamSpec *pspec, Client *c) {
-	if(c->download)
-		stop(c, NULL);
 	switch(webkit_web_view_get_load_status (c->view)) {
 	case WEBKIT_LOAD_COMMITTED:
-		setatom(c, uriprop, geturi(c));
+	if(c->download)
+		stop(c, NULL);
+	setatom(c, uriprop, geturi(c));
 		break;
 	case WEBKIT_LOAD_FINISHED:
 		c->progress = 0;
