mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 304531: event.target.rel has no properties (Port fix from bug 225854), patch by Phil Ringnalda <bugzilla@philringnalda.com>, r=mconnor
This commit is contained in:
parent
eb4cf4452c
commit
b7e4425668
@ -762,11 +762,11 @@
|
||||
if (!tabBrowser.mPrefs.getBoolPref("browser.chrome.site_icons"))
|
||||
return;
|
||||
|
||||
if (!event.target.rel.match((/(?:^|\s)icon(?:\s|$)/i)))
|
||||
if (!event.originalTarget.rel.match((/(?:^|\s)icon(?:\s|$)/i)))
|
||||
return;
|
||||
|
||||
// We have an icon.
|
||||
var href = event.target.href;
|
||||
var href = event.originalTarget.href;
|
||||
if (!href)
|
||||
return;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user