fix issue 1825
This commit is contained in:
@@ -20,14 +20,14 @@ jQuery(function(){
|
|||||||
function hoverMenu(){
|
function hoverMenu(){
|
||||||
jQuery('ul.nav a.dropdown-toggle').parent().hover(function(){
|
jQuery('ul.nav a.dropdown-toggle').parent().hover(function(){
|
||||||
adjust_height_of_collapsed_nav();
|
adjust_height_of_collapsed_nav();
|
||||||
mi = jQuery(this).addClass('open');
|
var mi = jQuery(this).addClass('open');
|
||||||
mi.children('.dropdown-menu').stop(true, true).delay(200).fadeIn(400);
|
mi.children('.dropdown-menu').stop(true, true).delay(200).fadeIn(400);
|
||||||
}, function(){
|
}, function(){
|
||||||
mi = jQuery(this);
|
var mi = jQuery(this);
|
||||||
mi.children('.dropdown-menu').stop(true, true).delay(200).fadeOut(function(){mi.removeClass('open')});
|
mi.children('.dropdown-menu').stop(true, true).delay(200).fadeOut(function(){mi.removeClass('open')});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
hoverMenu(); // first page load
|
hoverMenu(); // first page load
|
||||||
jQuery(window).resize(hoverMenu); // on resize event
|
jQuery(window).resize(hoverMenu); // on resize event
|
||||||
jQuery('ul.nav li.dropdown a').click(function(){window.location=jQuery(this).attr('href');});
|
jQuery('ul.nav li.dropdown a').click(function(){window.location=jQuery(this).attr('href');});
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -20,14 +20,14 @@ jQuery(function(){
|
|||||||
function hoverMenu(){
|
function hoverMenu(){
|
||||||
jQuery('ul.nav a.dropdown-toggle').parent().hover(function(){
|
jQuery('ul.nav a.dropdown-toggle').parent().hover(function(){
|
||||||
adjust_height_of_collapsed_nav();
|
adjust_height_of_collapsed_nav();
|
||||||
mi = jQuery(this).addClass('open');
|
var mi = jQuery(this).addClass('open');
|
||||||
mi.children('.dropdown-menu').stop(true, true).delay(200).fadeIn(400);
|
mi.children('.dropdown-menu').stop(true, true).delay(200).fadeIn(400);
|
||||||
}, function(){
|
}, function(){
|
||||||
mi = jQuery(this);
|
var mi = jQuery(this);
|
||||||
mi.children('.dropdown-menu').stop(true, true).delay(200).fadeOut(function(){mi.removeClass('open')});
|
mi.children('.dropdown-menu').stop(true, true).delay(200).fadeOut(function(){mi.removeClass('open')});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
hoverMenu(); // first page load
|
hoverMenu(); // first page load
|
||||||
jQuery(window).resize(hoverMenu); // on resize event
|
jQuery(window).resize(hoverMenu); // on resize event
|
||||||
jQuery('ul.nav li.dropdown a').click(function(){window.location=jQuery(this).attr('href');});
|
jQuery('ul.nav li.dropdown a').click(function(){window.location=jQuery(this).attr('href');});
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -20,14 +20,14 @@ jQuery(function(){
|
|||||||
function hoverMenu(){
|
function hoverMenu(){
|
||||||
jQuery('ul.nav a.dropdown-toggle').parent().hover(function(){
|
jQuery('ul.nav a.dropdown-toggle').parent().hover(function(){
|
||||||
adjust_height_of_collapsed_nav();
|
adjust_height_of_collapsed_nav();
|
||||||
mi = jQuery(this).addClass('open');
|
var mi = jQuery(this).addClass('open');
|
||||||
mi.children('.dropdown-menu').stop(true, true).delay(200).fadeIn(400);
|
mi.children('.dropdown-menu').stop(true, true).delay(200).fadeIn(400);
|
||||||
}, function(){
|
}, function(){
|
||||||
mi = jQuery(this);
|
var mi = jQuery(this);
|
||||||
mi.children('.dropdown-menu').stop(true, true).delay(200).fadeOut(function(){mi.removeClass('open')});
|
mi.children('.dropdown-menu').stop(true, true).delay(200).fadeOut(function(){mi.removeClass('open')});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
hoverMenu(); // first page load
|
hoverMenu(); // first page load
|
||||||
jQuery(window).resize(hoverMenu); // on resize event
|
jQuery(window).resize(hoverMenu); // on resize event
|
||||||
jQuery('ul.nav li.dropdown a').click(function(){window.location=jQuery(this).attr('href');});
|
jQuery('ul.nav li.dropdown a').click(function(){window.location=jQuery(this).attr('href');});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user