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

Disabled undefined options #46

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

Disabled undefined options #46

wants to merge 2 commits into from

Conversation

charlimmelman
Copy link

Set options to be disabled with blank hrefs if attr('href') value is undefined. This seems to be a particular issue when using TinyNav with Wordpress where top level items do not have an href.

@gmclelland
Copy link

Thanks Charl Immelman. That worked perfect for me. In case anybody else is wondering, for this to work you have to have list items with a link inside like

<a>This is my disabled option</>

Notice there is no href

* upstream/master:
  a comman in options
  Update version number, script size and copyright date
  Add the "indent" option
  bower support #50
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

Successfully merging this pull request may close these issues.

2 participants