File tree Expand file tree Collapse file tree 4 files changed +16
-8
lines changed
Expand file tree Collapse file tree 4 files changed +16
-8
lines changed Original file line number Diff line number Diff 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 */
Original file line number Diff line number Diff 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 */
Original file line number Diff line number Diff 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 */
Original file line number Diff line number Diff 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 */
You can’t perform that action at this time.
0 commit comments