summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorctrlcctrlv <wizardchan@hush.com>2013-08-08 23:36:21 +0000
committerctrlcctrlv <wizardchan@hush.com>2013-08-08 23:36:21 +0000
commit4f6e517fad4990a4b89dd11d8d7465cbad5b80c9 (patch)
treeef6665932523ec97098bfc51cb017e37102197b7 /js
parent78ea9af97cbda5a94f8a4be6aec2a7a84fb34bed (diff)
Fix catalog board link appearing when it shouldnt
Diffstat (limited to 'js')
-rw-r--r--js/catalog-link.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/catalog-link.js b/js/catalog-link.js
index cc55eb52..7c2a5931 100644
--- a/js/catalog-link.js
+++ b/js/catalog-link.js
@@ -3,7 +3,7 @@
function catalog() {
var board = $("input[name='board']");
-if (board) {
+if (board===undefined) {
var catalog_url = 'catalog.html';
var pages = document.getElementsByClassName('pages')[0];
var bottom = document.getElementsByClassName('boardlist bottom')[0]