custom.js clean
git-svn-id: http://78.47.251.156/svn/dev/sterntours-3@3435 f459cee4-fb09-11de-96c3-f9c5f16c3c76
This commit is contained in:
parent
f440683f6b
commit
9750dcaebd
1 changed files with 2 additions and 13 deletions
|
|
@ -294,22 +294,11 @@ jQuery(document).ready(function($) {
|
||||||
$(".header .dropdown:not(.openClick) .nav-first-a").click(
|
$(".header .dropdown:not(.openClick) .nav-first-a").click(
|
||||||
function ()
|
function ()
|
||||||
{
|
{
|
||||||
window.location.href = $(this).attr('href');
|
|
||||||
// console.log($(this));
|
|
||||||
}
|
|
||||||
);
|
|
||||||
/* $(".header .dropdown").click(
|
|
||||||
function() {
|
|
||||||
if($(window).width() > 768){
|
if($(window).width() > 768){
|
||||||
var _self = $(this);
|
window.location.href = $(this).attr('href');
|
||||||
setTimeout(
|
|
||||||
function()
|
|
||||||
{
|
|
||||||
window.location.href = _self.find('a').attr('href');
|
|
||||||
}, 500);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
);*/
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue