зеркало из https://github.com/mozilla/pjs.git
oops, gFocusedDocument is from ben's fullscreen landing.
This commit is contained in:
Родитель
f25736fe7e
Коммит
0428e0ddef
|
@ -63,7 +63,6 @@ var gBrowser = null;
|
||||||
|
|
||||||
// focused frame URL
|
// focused frame URL
|
||||||
var gFocusedURL = null;
|
var gFocusedURL = null;
|
||||||
var gFocusedDocument = null;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* We can avoid adding multiple load event listeners and save some time by adding
|
* We can avoid adding multiple load event listeners and save some time by adding
|
||||||
|
@ -100,7 +99,6 @@ function contentAreaFrameFocus()
|
||||||
var focusedWindow = document.commandDispatcher.focusedWindow;
|
var focusedWindow = document.commandDispatcher.focusedWindow;
|
||||||
if (isDocumentFrame(focusedWindow)) {
|
if (isDocumentFrame(focusedWindow)) {
|
||||||
gFocusedURL = focusedWindow.location.href;
|
gFocusedURL = focusedWindow.location.href;
|
||||||
gFocusedDocument = focusedWindow.document;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче