From 7cf0d4f31778f2adc2999fe55f66aa7bf22ae30d Mon Sep 17 00:00:00 2001 From: Eugeny Galkovskiy Date: Wed, 5 Oct 2016 16:39:53 +0300 Subject: [PATCH] 123 --- frontend/web/js/script.js | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+), 0 deletions(-) diff --git a/frontend/web/js/script.js b/frontend/web/js/script.js index 9055313..eb50908 100755 --- a/frontend/web/js/script.js +++ b/frontend/web/js/script.js @@ -35,5 +35,24 @@ $(document).ready(function(){ return false; }); + + $(".btn_otz.write").click(function(){ + $(".add_comment").show(); + $(this).parent().hide(); + return false; + }); + $(".close_comm").click(function(){ + $(this).parent().hide(); + $(".otz_buttons").show(); + return false; + }); + $(".btn_otz.more1").click(function(){ + $(".hidden:lt(4)").removeClass("hidden"); + if(!$(".hidden").is(".hidden")){ + $(this).remove(); + } + return false; + }); + }); \ No newline at end of file -- libgit2 0.21.4