Commit 255fd4d6c745b1cdf3de05f761a8318880e02363
1 parent
f8ecda33
123
Showing
1 changed file
with
1 additions
and
3 deletions
Show diff stats
frontend/web/js/script.js
... | ... | @@ -53,8 +53,6 @@ $(document).ready(function(){ |
53 | 53 | } |
54 | 54 | return false; |
55 | 55 | }); |
56 | - if($("#orderform-username input[type='checkbox']").is(':checked')){ | |
57 | - $(this).hide(); | |
58 | - } | |
56 | + $("#orderform-username input[type='checkbox']").is(':checked').hide(); | |
59 | 57 | |
60 | 58 | }); |
61 | 59 | \ No newline at end of file | ... | ... |