]> spindle.queued.net Git - midori/commitdiff
Don't skip blank pages in addons context ready
authorPaweł Forysiuk <tuxator@o2.pl>
Sun, 11 Dec 2011 01:15:49 +0000 (02:15 +0100)
committerChristian Dywan <christian@twotoasts.de>
Sun, 11 Dec 2011 01:52:37 +0000 (02:52 +0100)
extensions/addons.c

index 8aa60e3922269d3eaa4ad4beba762f9ec331eaeb..7c566f41170e161670953b1d2f3d8b10863d8690 100644 (file)
@@ -1474,7 +1474,7 @@ addons_context_ready_cb (WebKitWebView*   web_view,
     const gchar* page_uri;
 
     page_uri = webkit_web_frame_get_uri (web_frame);
-    if (!midori_uri_is_http (page_uri))
+    if (!midori_uri_is_http (page_uri) && !midori_uri_is_blank (page_uri))
         return;
 
     /* Not a main frame! Abort */