Bug 473036 - use window.content rather than the alias window._content, r=mkmelin
authorPhil Ringnalda <philringnalda@gmail.com>
Thu, 15 Jan 2009 20:43:03 -0800
changeset 1656 624f14db4c4f2cc0526d457e38c749a49d08cbd4
parent 1655 25d5967e1ce642b78dc26357408d8e5b4360ba65
child 1657 5d42e53ff9b12d9bccf8567d95b3e848d5ce6d6b
push idunknown
push userunknown
push dateunknown
reviewersmkmelin
bugs473036
Bug 473036 - use window.content rather than the alias window._content, r=mkmelin
mail/base/content/mailWindowOverlay.js
--- a/mail/base/content/mailWindowOverlay.js
+++ b/mail/base/content/mailWindowOverlay.js
@@ -2164,17 +2164,17 @@ function MsgSynchronizeOffline()
 {
   window.openDialog("chrome://messenger/content/msgSynchronize.xul", "",
                     "centerscreen,chrome,modal,titlebar,resizable=yes",
                     {msgWindow:msgWindow});
 }
 
 function SpaceHit(event)
 {
-  var contentWindow = window.top._content;
+  var contentWindow = window.top.content;
   var rssiframe = contentWindow.document.getElementById('_mailrssiframe');
 
   // if we are displaying an RSS article, we really want to scroll the nested iframe
   if (rssiframe)
     contentWindow = rssiframe.contentWindow;
 
   if (event && event.shiftKey) {
     // if at the start of the message, go to the previous one