summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--js/oekaki.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/js/oekaki.js b/js/oekaki.js
index fc4eb4b2..6197386d 100644
--- a/js/oekaki.js
+++ b/js/oekaki.js
@@ -30,7 +30,9 @@ function init_oekaki() {
attach_events();
}
-init_oekaki();
+if (active_page == 'index' || active_page == 'thread') {
+ init_oekaki();
+}
//http://stackoverflow.com/a/5624139/1901658
function hexToRgb(hex) {