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