summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorczaks <marcin@6irc.net>2013-07-17 22:09:28 -0400
committerroot <root@vichan.6irc.us>2013-07-17 22:09:42 -0400
commit95b49f221597a7b45f920f997cddc67be929b47e (patch)
tree1dc2d41071f75963637b48c7e3e21f8f9feedf14
parent84aaaabece919f6e45582dff75b79d4430bc5f91 (diff)
quick-reply.js: activate only on index page
-rw-r--r--js/quick-reply.js3
1 files changed, 2 insertions, 1 deletions
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(){
});
});
});
-
+}