mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 697180 - favicon replaced by default one (patch 2) [r=mfinkle]
This commit is contained in:
parent
4860ab1016
commit
2291f4ed94
@ -541,15 +541,18 @@ abstract public class GeckoApp
|
||||
if (tab == null)
|
||||
return;
|
||||
|
||||
String oldBaseURI = tab.getURL();
|
||||
tab.updateURL(uri);
|
||||
|
||||
if (!Tabs.getInstance().isSelectedTab(tab))
|
||||
return;
|
||||
|
||||
String oldBaseURI = tab.getURL();
|
||||
oldBaseURI = oldBaseURI.substring(0, oldBaseURI.indexOf('#'));
|
||||
String baseURI = uri;
|
||||
if (baseURI.indexOf('#') != -1)
|
||||
baseURI = uri.substring(0, uri.indexOf('#'));
|
||||
|
||||
String baseURI = uri.substring(0, uri.indexOf('#'));
|
||||
if (oldBaseURI != null && oldBaseURI.indexOf('#') != -1)
|
||||
oldBaseURI = oldBaseURI.substring(0, oldBaseURI.indexOf('#'));
|
||||
|
||||
if (baseURI.equals(oldBaseURI))
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user