Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to use an existing drawer button if it already exists #1532

Closed
wants to merge 1 commit into from
Closed

Ability to use an existing drawer button if it already exists #1532

wants to merge 1 commit into from

Conversation

gauntface
Copy link

At the moment layout.js injects a hamburger menu button.

On Web fundamentals I'm hoping to avoid having to grab an icon font and just inline the SVG images needed, however this isn't possible with the current version of MDL.

This PR is a small tweak to check if a menu buttons already exists, otherwise create and inject an element.

@Garbee
Copy link
Collaborator

Garbee commented Sep 2, 2015

LGTM, just needs a squash.

@surma
Copy link
Contributor

surma commented Sep 2, 2015

LGTM2 after squash :)

Making it possible to use an existing menu button if it exists in the DOM already

Undoing the gitignore change - it's not relevant to this PR

Updating gitignore

Making it possible to use an existing menu button if it exists in the DOM already

Undoing the gitignore change - it's not relevant to this PR
@addyosmani
Copy link
Contributor

LGTM3.

@gauntface gauntface closed this in de7b79e Sep 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants