This commit is contained in:
Kevin Adametz 2018-05-22 18:32:25 +02:00
parent 23879a3a06
commit 38f2030b2b

View file

@ -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({