Skip to content
This repository has been archived by the owner on Dec 23, 2017. It is now read-only.

using class for glossary toggle #719

Merged
merged 1 commit into from
Sep 21, 2015
Merged

Conversation

noahmanger
Copy link
Contributor

@@ -76,7 +76,7 @@ $(document).ready(function() {
}

// Initialize glossary
new glossary.Glossary(terms, {body: '#glossary', toggle: '#glossary-toggle'});
new glossary.Glossary(terms, {body: '#glossary'});

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do not use 'new' for side effects.

@jmcarp jmcarp merged commit a9aac32 into develop Sep 21, 2015
@jmcarp jmcarp deleted the feature/glossary-toggle-update branch October 2, 2015 16:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants