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

Prevent hover from acting on navbar dropdowns in collapsed mode #75

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Commits on Aug 18, 2014

  1. Prevent acting on navbar in collapsed mode

    Added a setting for navbar breakpoint in defaults
    Added check in openDropdown to see if dropdown is a descendant of .navbar-collapse and window width is less than the navbar breakpoint
    neil-h committed Aug 18, 2014
    Configuration menu
    Copy the full SHA
    f5c7946 View commit details
    Browse the repository at this point in the history
  2. fixed indenting

    changed from tabs to 4 spaces
    neil-h committed Aug 18, 2014
    Configuration menu
    Copy the full SHA
    60b5392 View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2014

  1. changed from variable to .navbar-toggle visibility

    Instead of having a variable for nav breakpoint we now check if .navbar-toggle is visible.
    We also have added the check to the close on mouseout, so the menu doesn't close when we hover outside the submenu.
    Made a function isCollapsed so we can have our logic in one place.
    neil-h committed Oct 22, 2014
    Configuration menu
    Copy the full SHA
    d0320cb View commit details
    Browse the repository at this point in the history
  2. fixed syntax error

    Was: if ( isCollapsed ){ return; }
    Now: if ( isCollapsed() ){ return; }
    neil-h committed Oct 22, 2014
    Configuration menu
    Copy the full SHA
    5ed1400 View commit details
    Browse the repository at this point in the history