Total Complexity | 4 |
Complexity/F | 1 |
Lines of Code | 18 |
Function Count | 4 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | function login() |
||
2 | { |
||
3 | $(document).ready(function(){ |
||
4 | $(".login").show(); |
||
5 | $("#login").css("background-color","blue"); |
||
6 | $(".register").hide(); |
||
7 | $("#register").css("background-color","inherit"); |
||
8 | }); |
||
9 | } |
||
10 | function register() |
||
11 | { |
||
12 | $(document).ready(function(){ |
||
13 | $(".register").show(); |
||
14 | $("#register").css("background-color","blue"); |
||
15 | $(".login").hide(); |
||
16 | $("#login").css("background-color","inherit"); |
||
17 | }); |
||
18 | } |