From 00ca834b4f49b74d7371e3888b64502e6c03d2ba Mon Sep 17 00:00:00 2001 From: "gijskruitbosch%gmail.com" Date: Fri, 23 Mar 2007 18:54:17 +0000 Subject: [PATCH] Bug 374977 - Enable FireVox to find the window with readable content r=silver@warwickcompsoc.co.uk (James Ross) ChatZilla Only. --- extensions/irc/xul/content/static.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/extensions/irc/xul/content/static.js b/extensions/irc/xul/content/static.js index 66fed0f6590..c5fd48dc349 100644 --- a/extensions/irc/xul/content/static.js +++ b/extensions/irc/xul/content/static.js @@ -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");