зеркало из https://github.com/mozilla/pjs.git
Bug 374977 - Enable FireVox to find the window with readable content
r=silver@warwickcompsoc.co.uk (James Ross) ChatZilla Only.
This commit is contained in:
Родитель
1b495dc8eb
Коммит
00ca834b4f
|
@ -2543,6 +2543,10 @@ function setCurrentObject (obj)
|
|||
if ("currentObject" in client && client.currentObject == obj)
|
||||
return;
|
||||
|
||||
// Set window.content to make screenreader apps find the chat content.
|
||||
if (obj.frame && getContentWindow(obj.frame))
|
||||
window.content = getContentWindow(obj.frame);
|
||||
|
||||
var tb, userList;
|
||||
userList = document.getElementById("user-list");
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче