mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 753490 - Fix find_element regression, r=mdas, DONTBUILD because NPOTB
This commit is contained in:
parent
5b1a44348d
commit
241fc1b9c7
@ -62,7 +62,7 @@ ElementManager.prototype = {
|
||||
*/
|
||||
addToKnownElements: function EM_addToKnownElements(element) {
|
||||
for (let i in this.seenItems) {
|
||||
if (this.seenItems[i] == element) {
|
||||
if (XPCNativeWrapper(this.seenItems[i]) == XPCNativeWrapper(element)) {
|
||||
return i;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user