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

Reduce duplication when registering event listeners for the Toolbar buttons, and other small clean-up #11338

Merged
merged 3 commits into from
Nov 19, 2019

Conversation

Snuffleupagus
Copy link
Collaborator

Please refer to the individual commit messages.

… buttons

This uses the same kind of format as is being used in the `SecondaryToolbar` class.
Considering just how small/simple this code is, it doesn't seem necessary to have a separate method for it (even more so when there's only one call-site).
@timvandermeij
Copy link
Contributor

/botio-linux preview

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Received

Command cmd_preview from @timvandermeij received. Current queue size: 0

Live output at: http://54.67.70.0:8877/4f4892c6fe96fae/output.txt

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Success

Full output at http://54.67.70.0:8877/4f4892c6fe96fae/output.txt

Total script time: 1.72 mins

Published

@timvandermeij timvandermeij merged commit ef1cd11 into mozilla:master Nov 19, 2019
@timvandermeij
Copy link
Contributor

Makes sense. Thanks!

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.

3 participants