JS nav 2
git-svn-id: http://78.47.251.156/svn/dev/sterntours-3@3397 f459cee4-fb09-11de-96c3-f9c5f16c3c76
This commit is contained in:
parent
dcea1900b4
commit
bdad447ca9
1 changed files with 2 additions and 1 deletions
|
|
@ -293,10 +293,11 @@ jQuery(document).ready(function($) {
|
||||||
$(".header .dropdown:not(.openClick)").click(
|
$(".header .dropdown:not(.openClick)").click(
|
||||||
function() {
|
function() {
|
||||||
if($(window).width() > 768){
|
if($(window).width() > 768){
|
||||||
|
var _self = $(this);
|
||||||
setTimeout(
|
setTimeout(
|
||||||
function()
|
function()
|
||||||
{
|
{
|
||||||
window.location.href = $(this).find('a').attr('href');
|
window.location.href = _self.find('a').attr('href');
|
||||||
}, 500);
|
}, 500);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue