equal
deleted
inserted
replaced
|
1 $(function(){ |
|
2 |
|
3 $(".open-popin").click(function(){ |
|
4 var target = $(this).attr("href"); |
|
5 if($(target).is(':visible')){ |
|
6 $(".popin").hide(); |
|
7 }else{ |
|
8 $(".popin").hide(); |
|
9 $(target).show(); |
|
10 } |
|
11 return false; |
|
12 }); |
|
13 |
|
14 $(".change-account").click(function() { |
|
15 $(".user").hide(); |
|
16 $(".user.login").show(); |
|
17 }); |
|
18 $(".signup-button").click(function() { |
|
19 $(".user").hide(); |
|
20 $(".user.signup").show(); |
|
21 }); |
|
22 $(".login-form, .signup-form").submit(function() { |
|
23 $(".user").hide(); |
|
24 }); |
|
25 }); |