From 377864203dc28fc3a7dc4ae2fb4fc20557ce2b3e Mon Sep 17 00:00:00 2001 From: Mark Finkle Date: Fri, 22 Aug 2008 09:33:00 -0400 Subject: [PATCH] b=451677, r=enn. deckbrowser saves window scroll but should save browser scoll --- mobile/chrome/content/deckbrowser.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mobile/chrome/content/deckbrowser.xml b/mobile/chrome/content/deckbrowser.xml index acfdf88265ea..ed97888326de 100644 --- a/mobile/chrome/content/deckbrowser.xml +++ b/mobile/chrome/content/deckbrowser.xml @@ -411,8 +411,8 @@ } } - state._scrollX = window.scrollX; - state._scrollY = window.scrollY; + state._scrollX = browser.contentWindow.scrollX; + state._scrollY = browser.contentWindow.scrollY; display.state = state; ]]>