mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 829670 - Fix some 'function does not always return a value' warnings on startup. r=wesj
This commit is contained in:
parent
7aefd397af
commit
471ea0aa0b
@ -980,7 +980,7 @@ var BrowserApp = {
|
||||
getFocusedInput: function(aBrowser, aOnlyInputElements = false) {
|
||||
let doc = aBrowser.contentDocument;
|
||||
if (!doc)
|
||||
return;
|
||||
return null;
|
||||
|
||||
let focused = doc.activeElement;
|
||||
while (focused instanceof HTMLFrameElement || focused instanceof HTMLIFrameElement) {
|
||||
|
Loading…
Reference in New Issue
Block a user