From c8f2f00320dd90ff51dec4de0286a9415aba4b0b Mon Sep 17 00:00:00 2001 From: Michael Foster Date: Sun, 15 Sep 2013 07:31:05 +1000 Subject: [PATCH] fix bug with quick-reply and make it nicer --- js/quick-reply.js | 13 +++++++++++-- templates/main.js | 6 +++--- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/js/quick-reply.js b/js/quick-reply.js index 3ff6002c..6f5c79d8 100644 --- a/js/quick-reply.js +++ b/js/quick-reply.js @@ -13,7 +13,9 @@ var show_quick_reply = function(){ if($('div.banner').length == 0) - return; // not index + return; + if($('#quick-reply').length != 0) + return; $('