Skip to content

Commit 37d21e1

Browse files
author
MFC Action
committed
Docs @ c6a94d4
1 parent 55a83c8 commit 37d21e1

File tree

4 files changed

+16
-8
lines changed

4 files changed

+16
-8
lines changed

documentation/resize.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ function initResizable(treeview) {
6666
}
6767
else
6868
{
69-
contentHeight = windowHeight - headerHeight - 1;
69+
contentHeight = windowHeight - headerHeight;
7070
}
7171
content.css({height:contentHeight + "px"});
7272
if (location.hash.slice(1)) {
@@ -139,7 +139,9 @@ function initResizable(treeview) {
139139
{
140140
$("#splitbar").bind("dragstart", _preventDefault).bind("selectstart", _preventDefault);
141141
$(".ui-resizable-handle").dblclick(collapseExpand);
142+
// workaround for firefox
143+
$("body").css({overflow: "hidden"});
142144
}
143-
$(window).on('load',resizeHeight);
145+
$(window).on('load',function() { resizeHeight(treeview); });
144146
}
145147
/* @license-end */

post_process/resize.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ function initResizable(treeview) {
6666
}
6767
else
6868
{
69-
contentHeight = windowHeight - headerHeight - 1;
69+
contentHeight = windowHeight - headerHeight;
7070
}
7171
content.css({height:contentHeight + "px"});
7272
if (location.hash.slice(1)) {
@@ -139,7 +139,9 @@ function initResizable(treeview) {
139139
{
140140
$("#splitbar").bind("dragstart", _preventDefault).bind("selectstart", _preventDefault);
141141
$(".ui-resizable-handle").dblclick(collapseExpand);
142+
// workaround for firefox
143+
$("body").css({overflow: "hidden"});
142144
}
143-
$(window).on('load',resizeHeight);
145+
$(window).on('load',function() { resizeHeight(treeview); });
144146
}
145147
/* @license-end */

pre_process/resize.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ function initResizable(treeview) {
6666
}
6767
else
6868
{
69-
contentHeight = windowHeight - headerHeight - 1;
69+
contentHeight = windowHeight - headerHeight;
7070
}
7171
content.css({height:contentHeight + "px"});
7272
if (location.hash.slice(1)) {
@@ -139,7 +139,9 @@ function initResizable(treeview) {
139139
{
140140
$("#splitbar").bind("dragstart", _preventDefault).bind("selectstart", _preventDefault);
141141
$(".ui-resizable-handle").dblclick(collapseExpand);
142+
// workaround for firefox
143+
$("body").css({overflow: "hidden"});
142144
}
143-
$(window).on('load',resizeHeight);
145+
$(window).on('load',function() { resizeHeight(treeview); });
144146
}
145147
/* @license-end */

simulation/resize.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ function initResizable(treeview) {
6666
}
6767
else
6868
{
69-
contentHeight = windowHeight - headerHeight - 1;
69+
contentHeight = windowHeight - headerHeight;
7070
}
7171
content.css({height:contentHeight + "px"});
7272
if (location.hash.slice(1)) {
@@ -139,7 +139,9 @@ function initResizable(treeview) {
139139
{
140140
$("#splitbar").bind("dragstart", _preventDefault).bind("selectstart", _preventDefault);
141141
$(".ui-resizable-handle").dblclick(collapseExpand);
142+
// workaround for firefox
143+
$("body").css({overflow: "hidden"});
142144
}
143-
$(window).on('load',resizeHeight);
145+
$(window).on('load',function() { resizeHeight(treeview); });
144146
}
145147
/* @license-end */

0 commit comments

Comments
 (0)