summaryrefslogtreecommitdiffstats
path: root/src/resize_js.h
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2012-11-18 21:43:28 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2012-11-18 21:43:28 (GMT)
commit1a68946cfa3e3ee749a683fdabc93e6b5311adeb (patch)
tree94365b932426de715b3a479094b7056e0c4f878b /src/resize_js.h
parent9c9313827b29876de43ad5305fd7ac162013359c (diff)
downloadDoxygen-1a68946cfa3e3ee749a683fdabc93e6b5311adeb.zip
Doxygen-1a68946cfa3e3ee749a683fdabc93e6b5311adeb.tar.gz
Doxygen-1a68946cfa3e3ee749a683fdabc93e6b5311adeb.tar.bz2
Release-1.8.2-20121118
Diffstat (limited to 'src/resize_js.h')
-rw-r--r--src/resize_js.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/resize_js.h b/src/resize_js.h
index ec50059..e24c0b0 100644
--- a/src/resize_js.h
+++ b/src/resize_js.h
@@ -37,7 +37,7 @@
"function resizeWidth() \n"
"{\n"
" var windowWidth = $(window).width() + \"px\";\n"
-" var sidenavWidth = $(sidenav).width();\n"
+" var sidenavWidth = $(sidenav).outerWidth();\n"
" content.css({marginLeft:parseInt(sidenavWidth)+6+\"px\"}); //account for 6px-wide handle-bar\n"
" writeCookie('width',sidenavWidth, null);\n"
"}\n"
@@ -51,8 +51,8 @@
"\n"
"function resizeHeight() \n"
"{\n"
-" var headerHeight = header.height();\n"
-" var footerHeight = footer.height();\n"
+" var headerHeight = header.outerHeight();\n"
+" var footerHeight = footer.outerHeight();\n"
" var windowHeight = $(window).height() - headerHeight - footerHeight;\n"
" content.css({height:windowHeight + \"px\"});\n"
" navtree.css({height:windowHeight + \"px\"});\n"