From 95b49f221597a7b45f920f997cddc67be929b47e Mon Sep 17 00:00:00 2001 From: czaks Date: Wed, 17 Jul 2013 22:09:28 -0400 Subject: [PATCH] quick-reply.js: activate only on index page --- js/quick-reply.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/quick-reply.js b/js/quick-reply.js index ea504b48..bee204b7 100644 --- a/js/quick-reply.js +++ b/js/quick-reply.js @@ -12,6 +12,7 @@ * */ +if (active_page == 'index') { $(document).ready(function(){ if($('div.banner').length != 0) return; // not index @@ -43,4 +44,4 @@ $(document).ready(function(){ }); }); }); - +}