From 1d0ffff41bbcf016003d3e50f177d37489d24550 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Sun, 14 Feb 2016 14:28:44 -0800 Subject: [PATCH] Don't try to add edit link when menu isn't there. --- src/Posting/QR.oekaki.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Posting/QR.oekaki.coffee b/src/Posting/QR.oekaki.coffee index e1d4f6a4d..df476febc 100644 --- a/src/Posting/QR.oekaki.coffee +++ b/src/Posting/QR.oekaki.coffee @@ -1,7 +1,7 @@ QR.oekaki = menu: init: -> - return unless Conf['Quick Reply'] and Conf['Edit Link'] + return unless g.VIEW in ['index', 'thread'] and Conf['Menu'] and Conf['Edit Link'] and Conf['Quick Reply'] a = $.el 'a', className: 'edit-link'