| @@ -21,20 +21,5 @@ | ||
| 21 | 21 | $( this ).closest( '.postbox' ).toggleClass( 'closed' ); |
| 22 | 22 | e.preventDefault(); |
| 23 | 23 | } ); |
| 24 | 24 | |
| 25 | - // Close every box other than the first, to keep the page clean. | |
| 26 | - $('.postbox:not(:first)').addClass('closed'); | |
| 27 | - | |
| 28 | - // Open the box when the user clicks the shortcut | |
| 29 | - $('#minimenu a').on('click',function(e){ | |
| 30 | - var ID = $(this).attr('href'); | |
| 31 | - $(ID).closest( '.postbox' ).removeClass('closed'); | |
| 32 | - }); | |
| 33 | - | |
| 34 | - // Scroll to top | |
| 35 | - $('.adminimize-scroltop').on('click',function(e){ | |
| 36 | - e.preventDefault(); | |
| 37 | - $('html,body').animate({scrollTop:0},700); | |
| 38 | - }); | |
| 39 | - | |
| 40 | 25 | } ); |