Skip to content

toggling multiple asides #103

Description

@davidfarmer

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions