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