JS nav
This commit is contained in:
parent
23879a3a06
commit
38f2030b2b
1 changed files with 9 additions and 15 deletions
|
|
@ -290,23 +290,17 @@ jQuery(document).ready(function($) {
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
/* $(".header .navbar-nav .dropdown:not(.openClick)").click(
|
$(".header .dropdown:not(.openClick)").click(
|
||||||
function(event) {
|
function() {
|
||||||
if($(window).width() > 768){
|
if($(window).width() > 768){
|
||||||
event.preventDefault();
|
setTimeout(
|
||||||
console.log($(this));
|
function()
|
||||||
if($(this).hasClass('.nav-first-a"')){
|
{
|
||||||
//window.location.href = $(this).attr('href');
|
window.location.href = $(this).find('a').attr('href');
|
||||||
}
|
}, 500);
|
||||||
if(false){
|
|
||||||
//window.location.href = $(this).find('a').attr('href');
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
$('.selectpicker').selectpicker({
|
$('.selectpicker').selectpicker({
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue