From: Roan Kattouw Date: Wed, 30 Nov 2011 13:16:18 +0000 (+0000) Subject: (bug 31212) History tab not collapsed when the screen is narrow. Patch by Michael M X-Git-Tag: 1.31.0-rc.0~26219 X-Git-Url: https://git.cyclocoop.org/admin/?a=commitdiff_plain;h=0c51642cfd8c21b2cfce03c07ceee36aad8c5ab2;p=lhc%2Fweb%2Fwiklou.git (bug 31212) History tab not collapsed when the screen is narrow. Patch by Michael M --- diff --git a/resources/jquery/jquery.collapsibleTabs.js b/resources/jquery/jquery.collapsibleTabs.js index 1784f86ab5..df7a935332 100644 --- a/resources/jquery/jquery.collapsibleTabs.js +++ b/resources/jquery/jquery.collapsibleTabs.js @@ -24,7 +24,7 @@ // if we haven't already bound our resize hanlder, bind it now if( !$.collapsibleTabs.boundEvent ) { $( window ) - .delayedBind( '500', 'resize', function( ) { $.collapsibleTabs.handleResize(); } ); + .delayedBind( '500', 'resize', null, function( ) { $.collapsibleTabs.handleResize(); } ); } // call our resize handler to setup the page $.collapsibleTabs.handleResize();