From a4989a1be1f31e4ca7089802ab015e602b477526 Mon Sep 17 00:00:00 2001 From: farhaanbukhsh Date: Oct 29 2015 23:46:37 +0000 Subject: Fixing clear button functionality in pull request page --- diff --git a/pagure/templates/pull_request.html b/pagure/templates/pull_request.html index 75abd78..b5e8d36 100644 --- a/pagure/templates/pull_request.html +++ b/pagure/templates/pull_request.html @@ -507,6 +507,13 @@ } ); + + $( "#clear_comment").click( + function() { + $( "#comment" ).val(""); + } + ); + var cur_hash = null; highlight_comment = function() {