|
@@ -40,10 +40,11 @@ $(document).ready(function(){
|
|
|
if(data.loginStatus){
|
|
|
customer_name = data.customer_name;
|
|
|
//str = '<span id="welcome">'+welcome+' '+customer_name+'</span>';
|
|
|
- str = '<span id="js_isNotLogin">';
|
|
|
- str += '<a href="'+logoutUrl+'" rel="nofollow">'+logoutStr+'</a>';
|
|
|
- str += '</span>';
|
|
|
- $("#js_isNotLogin").html(str);
|
|
|
+ //str = '<span id="js_isNotLogin">';
|
|
|
+ str = '<a href="'+logoutUrl+'" rel="nofollow">'+logoutStr+'</a>';
|
|
|
+ //str += '</span>';
|
|
|
+ $("#js_login_out").html(str);
|
|
|
+ $("#js_isNotLogin").hide();
|
|
|
}
|
|
|
if(data.favorite){
|
|
|
$("i.cart-favorite").addClass("fa-heart");
|