Fix: active KG panel in google search was left uncolored
This commit is contained in:
parent
0b8fd820fa
commit
bf8f002b86
@ -390,7 +390,7 @@ function getIdentifierFromElementImpl(element: HTMLAnchorElement): string {
|
||||
if (element.classList.contains('tumblelog')) return element.textContent.substr(1) + '.tumblr.com';
|
||||
|
||||
const href = element.href;
|
||||
if (href && !href.endsWith('#')) return getIdentifierFromURLImpl(tryParseURL(href));
|
||||
if (href && (!href.endsWith('#') || href.includes('&stick='))) return getIdentifierFromURLImpl(tryParseURL(href));
|
||||
return null;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user