Commit 7cf0d4f31778f2adc2999fe55f66aa7bf22ae30d
1 parent
c0bc5ea6
123
Showing
1 changed file
with
19 additions
and
0 deletions
Show diff stats
frontend/web/js/script.js
| ... | ... | @@ -35,5 +35,24 @@ $(document).ready(function(){ |
| 35 | 35 | return false; |
| 36 | 36 | }); |
| 37 | 37 | |
| 38 | + | |
| 39 | + $(".btn_otz.write").click(function(){ | |
| 40 | + $(".add_comment").show(); | |
| 41 | + $(this).parent().hide(); | |
| 42 | + return false; | |
| 43 | + }); | |
| 44 | + $(".close_comm").click(function(){ | |
| 45 | + $(this).parent().hide(); | |
| 46 | + $(".otz_buttons").show(); | |
| 47 | + return false; | |
| 48 | + }); | |
| 49 | + $(".btn_otz.more1").click(function(){ | |
| 50 | + $(".hidden:lt(4)").removeClass("hidden"); | |
| 51 | + if(!$(".hidden").is(".hidden")){ | |
| 52 | + $(this).remove(); | |
| 53 | + } | |
| 54 | + return false; | |
| 55 | + }); | |
| 56 | + | |
| 38 | 57 | |
| 39 | 58 | }); |
| 40 | 59 | \ No newline at end of file | ... | ... |