added back href to links, removed blinking

This commit is contained in:
ARvind Tiwari 2017-07-25 19:44:19 +05:30
parent 032059c965
commit 8e1a5a0221
2 changed files with 5 additions and 4 deletions

View file

@ -86,7 +86,8 @@
}
function _initNavUrl() {
$('.url').click(function () {
$('.url').click(function (event) {
event.preventDefault()
var href = $(this).attr('data-url');
$('.navbar-collapse').removeClass('in');
$('.navbar-collapse').addClass('collapsing');

View file

@ -27,9 +27,9 @@
<a class="dropdown-toggle visible-mobile" href="#" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">{% trans "Highlights" %}<span class="caret"></span></a>
<a class="dropdown-toggle url disabled visible-desktop menu-url" data-url="#how" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">{% trans "Highlights" %}<span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a class="url menu-url" data-url="#your" >{% trans "Scale out" %}</a></li>
<li><a class="url menu-url" data-url="#our">{% trans "Reliable and light" %}</a></li>
<li> <a class="url menu-url" data-url="#price" >{% trans "Order VM" %}</a></li>
<li><a class="url menu-url" data-url="#your" href="#your">{% trans "Scale out" %}</a></li>
<li><a class="url menu-url" data-url="#our" href="#our">{% trans "Reliable and light" %}</a></li>
<li> <a class="url menu-url" data-url="#price" href="#price">{% trans "Order VM" %}</a></li>
</ul>
</li>
<li>