mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 910729 - Temporary fix for e10s to avoid opening the findbar when entering an apostrophe. r=mikedeboer
This commit is contained in:
parent
401f1b3747
commit
6032219518
@ -711,6 +711,13 @@
|
||||
return false;
|
||||
|
||||
let elt = document.commandDispatcher.focusedElement;
|
||||
|
||||
// Temporary fix for e10s.
|
||||
if (elt instanceof XULElement && elt.tagName == "xul:browser" &&
|
||||
elt.getAttribute("remote")) {
|
||||
elt = elt.contentDocument.activeElement;
|
||||
}
|
||||
|
||||
if (elt) {
|
||||
if (elt instanceof HTMLInputElement && elt.mozIsTextField(false))
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user