Merge branch 'develop' of git.dev.yoho.cn:web/yohobuy into feature/web-list
Showing
1 changed file
with
3 additions
and
3 deletions
@@ -773,8 +773,8 @@ function actionTipPic() { | @@ -773,8 +773,8 @@ function actionTipPic() { | ||
773 | var $img = ''; | 773 | var $img = ''; |
774 | var $title = ''; | 774 | var $title = ''; |
775 | var $link = ''; | 775 | var $link = ''; |
776 | - var link = ''; | ||
777 | - | 776 | + var logolink = ''; |
777 | + | ||
778 | $(document).on('mouseenter', '.sub-nav-item', function() { | 778 | $(document).on('mouseenter', '.sub-nav-item', function() { |
779 | $contentcode = $(this).find('.showdetail').attr('data-code'); | 779 | $contentcode = $(this).find('.showdetail').attr('data-code'); |
780 | if ($contentcode) { | 780 | if ($contentcode) { |
@@ -791,7 +791,7 @@ function actionTipPic() { | @@ -791,7 +791,7 @@ function actionTipPic() { | ||
791 | } | 791 | } |
792 | } | 792 | } |
793 | }); | 793 | }); |
794 | - link = $('.first-nav-list .cur').find('a').attr('href'); | 794 | + logolink = $('.first-nav-list .cur').find('a').attr('href'); |
795 | $('.main-link').attr('href', link); | 795 | $('.main-link').attr('href', link); |
796 | } | 796 | } |
797 | 797 |
-
Please register or login to post a comment