Added expand all function

Created new button on nav bar.
Added new function in JS file to expand all on click

Ok will do

On 17 Dec 2014, at 09:58, Sym Roe <notifications@github.com> wrote:

> In _assets/javascript/functions.js:
> 
> > @@ -56,8 +58,21 @@
> >        if (hash) {
> >          $(hash).prevAll('h2').first().click();
> >        }
> > -    } //end render
> > +    }, //end render
> > +
> > +    expand: function() {
> > +
> > +
> > +
> > +      $('#Expand').click(function() {
> > +
> > +        console.log('test')
> > +        $('#content > *').show();
> Can you turn this in to a toggle, so that when clicked (and everything is expanded) it changes to 'collapse all'?
> 
> Also, is the * selector a good idea here? Should we only select h2 elements, as they are the ones with the other toggle on them.
> 
> —
> Reply to this email directly or view it on GitHub.
>