Revision: 27792
          http://sourceforge.net/p/bibdesk/svn/27792
Author:   hofman
Date:     2022-08-11 21:39:45 +0000 (Thu, 11 Aug 2022)
Log Message:
-----------
don't get favicon directly from its url when reloading from origin

Modified Paths:
--------------
    trunk/bibdesk/BDSKWebView.m

Modified: trunk/bibdesk/BDSKWebView.m
===================================================================
--- trunk/bibdesk/BDSKWebView.m 2022-08-11 11:26:33 UTC (rev 27791)
+++ trunk/bibdesk/BDSKWebView.m 2022-08-11 21:39:45 UTC (rev 27792)
@@ -288,12 +288,11 @@
     }
     
     // different pages from the same site can have the same favicon
-    icon = [[BDSKWebIconDatabase sharedDatabase] 
recentIconForURLString:[faviconURL absoluteString]];
+    icon = faviconFromOrigin ? nil : [[BDSKWebIconDatabase sharedDatabase] 
recentIconForURLString:[faviconURL absoluteString]];
     if (icon) {
         [[BDSKWebIconDatabase sharedDatabase] setIcon:icon withData:nil 
fromURLString:[faviconURL absoluteString] forURLString:[self mainFrameURL]];
         [self setFavicon:icon];
-        if (faviconFromOrigin == NO)
-            return;
+        return;
     }
     
     faviconFromOrigin = NO;

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
Bibdesk-commit mailing list
Bibdesk-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to