diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2012-03-11 21:16:19 -0700 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2012-03-11 21:16:19 -0700 |
commit | 6c29eba4701e48222941981d499eb08686788a22 (patch) | |
tree | 5e8d9e3b9cc175d3b4e7f214e31d6b0e235467cb /tools/Sandcastle/Presentation/vs2005/Scripts/SplitScreen.js | |
parent | 4cc2523e6f2c2f9975d3328ae983cc509c449315 (diff) | |
download | DotNetOpenAuth-6c29eba4701e48222941981d499eb08686788a22.zip DotNetOpenAuth-6c29eba4701e48222941981d499eb08686788a22.tar.gz DotNetOpenAuth-6c29eba4701e48222941981d499eb08686788a22.tar.bz2 |
Upgraded to Sandcastle June 2010 release (changeset 54478).
Diffstat (limited to 'tools/Sandcastle/Presentation/vs2005/Scripts/SplitScreen.js')
-rw-r--r-- | tools/Sandcastle/Presentation/vs2005/Scripts/SplitScreen.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/Sandcastle/Presentation/vs2005/Scripts/SplitScreen.js b/tools/Sandcastle/Presentation/vs2005/Scripts/SplitScreen.js index 3b04f0a..8ac17d1 100644 --- a/tools/Sandcastle/Presentation/vs2005/Scripts/SplitScreen.js +++ b/tools/Sandcastle/Presentation/vs2005/Scripts/SplitScreen.js @@ -6,8 +6,8 @@ this.scrollingRegion = document.getElementById(scrollingRegionId); // set the scrolling settings - document.body.style.margin = "0px"; - document.body.style.overflow = "hidden"; + this.scrollingRegion.parentElement.style.margin = "0px"; + this.scrollingRegion.parentElement.style.overflow = "hidden"; this.scrollingRegion.style.overflow = "auto"; // fix the size of the scrolling region @@ -25,5 +25,5 @@ } else { this.scrollingRegion.style.height = 0; } - this.scrollingRegion.style.width = document.body.clientWidth; + this.scrollingRegion.style.width = this.scrollingRegion.parentElement.clientWidth; } |