Replaced dropdown uri with javascript:;#1035
Replaced dropdown uri with javascript:;#1035stephanvierkant wants to merge 1 commit intophiamo:masterfrom stephanvierkant:patch-1
Conversation
'#' is giving problems when using hash url's, i.e. w/ AngularJS.
|
Couldn't you just do something like this: $('.nav .dropdown').click(function(e) {
e.preventDefault();
});I honestly don't know if changing this will have any other side effects, I've always thought it pretty standard to use |
|
http://getbootstrap.com/examples/navbar/ Also doesn't seem to even trigger the hash in the URL. Seems like they're already preventing the default |
|
@isometriks @stephanvierkant so is this eventually not necessary at all ?! |
|
Yes, it is. I had some problems while using AngularJS. I think you shouldn't use '#'. See http://stackoverflow.com/a/15885150/1405981 |
|
i think you shouldnt use ie but thats another point as far as i can read the whole thing ad the answers http://stackoverflow.com/questions/5637969/is-an-empty-href-valid?answertab=votes#tab-top |
|
We could make it configurable but I still don't think this is an issue. Bootstrap should be preventing the default action of the |
|
ok but then probably we should put that in the docs somewhere :/ |
|
might also be connected with #1155 |
'#' is giving problems when using hash url's, i.e. w/ AngularJS.