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

How to have parrent as a link #127

Closed
alexandar87 opened this issue Aug 7, 2014 · 3 comments
Closed

How to have parrent as a link #127

alexandar87 opened this issue Aug 7, 2014 · 3 comments

Comments

@alexandar87
Copy link

Hi

i want to have my parent a to work as a link, currently i cant click on it even if there is href attribute in link.

@mindctrl
Copy link

mindctrl commented Aug 8, 2014

You can't have the parent item work as a link because Bootstrap activates the dropdown on click instead of hover.

@alexandar87
Copy link
Author

Actually you can, just pass it class "disabled" and it will work as link.

I found that here http://stackoverflow.com/questions/12630188/allow-click-on-twitter-bootstrap-dropdown-toggle-link

so i just did
$( ".dropdown-toggle" ).addClass( "disabled" );

@LouisMilotte
Copy link

While you can put the parent as a link; it defeats the purpose of the framework being used by mobile devices.

Also, if you feel that you have answered your own issue; please remember to close it.

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

3 participants