Permalink
Browse files

remove unnecessary show/hide

it is the purpose of the class to show and hide the sections
and this is taken care of in beta_common.css
  • Loading branch information...
1 parent 8df0735 commit b28a6058f7e5b66e56ffd30c33d595772972af17 @jdlrobson jdlrobson committed with Apr 17, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 assets/www/js/chrome.js
@@ -46,10 +46,10 @@ window.chrome = function() {
// TODO: this should use the same code as MFE
if($contentBlock.hasClass('openSection')) {
- $contentBlock.removeClass('openSection').hide();
+ $contentBlock.removeClass('openSection');
$contentBlock.prev('.section_heading').removeClass('openSection');
} else {
- $contentBlock.addClass('openSection').show();
+ $contentBlock.addClass('openSection');
$contentBlock.prev('.section_heading').addClass('openSection');
}
chrome.setupScrolling("#content");

0 comments on commit b28a605

Please sign in to comment.