Skip to content

Instantly share code, notes, and snippets.

@tao-s
Created June 21, 2019 03:41
Show Gist options
  • Select an option

  • Save tao-s/505373547e5746060f85ece9bffb8b19 to your computer and use it in GitHub Desktop.

Select an option

Save tao-s/505373547e5746060f85ece9bffb8b19 to your computer and use it in GitHub Desktop.

Revisions

  1. tao-s created this gist Jun 21, 2019.
    9 changes: 9 additions & 0 deletions sp_menu.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    window.addEventListener('load',function(){
    $('#spMenuButton').click(function(){
    if($('#leftcolumn').hasClass('open')){
    $('#leftcolumn').addClass('open');
    }else{
    $('#leftcolumn').removeClass('open');
    }
    });
    });