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

toggling multiple asides #103

Open
davidfarmer opened this issue Jun 28, 2018 · 1 comment
Open

toggling multiple asides #103

davidfarmer opened this issue Jun 28, 2018 · 1 comment

Comments

@davidfarmer
Copy link
Contributor

On a page with multiple asides, such as

https://sites.ualberta.ca/~jsylvest/books/DLA/section-inverses-concepts.html

if you:
hover and then click on the first aside,
then click to close that side (noting that it still has focus)
then hover and click on the second aside,
you will find that the second aside gets focus, but does not get class "front"
(see Mathbook.js, line 1204 $(this).toggleClass("front"); )
and so does not become big and in the middle.

Guess at the problem: when you hover on the second one, the focus is on the first,
so clicking changes focus but does not count as a click.

@davidfarmer
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant