Authored by htoooth

change

... ... @@ -22,11 +22,13 @@
[ <a id="signin-url" href="//www.yohobuy.com/signin.html" class="loginbar">请登录</a> ]
[ <a id="reg-url" href="//www.yohobuy.com/reg.html" class="registbar">免费注册</a> ]
</li>
<li class="myyoho" id="myYohoBox" data-hung="{{@root.pc.common.disMyYohoHover}}">
<li class="myyoho" id="myYohoBox">
<span class="tag-seprate"></span>
<a href="//www.yohobuy.com/home?t=1453340799.4986">MY有货</a>
<span class="icon-bottomarrow"></span>
{{#unless @root.pc.common.disMyYohoHover}}
<div class="simple-user-center"></div>
{{/unless}}
</li>
<li class="myorder">
<span class="tag-seprate"></span>
... ...
... ... @@ -553,7 +553,7 @@ cartTimer = setInterval(syncCratInfo, 2000); // 定时同步购物车数量
}());
fetchUserInfoEvent.add(function() {
if (__DEGRADATION_CONFIG.hungMyYoho) {
if ($('.simple-user-center').length === 0) {
return;
}
syncLoginInfo();
... ...