site/public/semantic/javascript/semantic.js
function() {
            if( !$module.hasClass(className.expand) ) {
              $expandButton
                .addClass(className.active)
              ;
              module.expand();
            }
            else {
              $expandButton
                .removeClass(className.active)
              ;
              module.contract();
            }
          }
function() {
            if( !$module.hasClass(className.expand) ) {
              $expandButton
                .addClass(className.active)
              ;
              module.expand();
            }
            else {
              $expandButton
                .removeClass(className.active)
              ;
              module.contract();
            }
          }
function ( ) { if ( ! $module . hasClass ( className . expand ) ) { $expandButton . addClass ( className . active ) ; module . expand ( ) ; } else { $expandButton . removeClass ( className . active ) ; module . contract ( ) ; } }
handles button click on expand button
handles button click on expand button