From c6b1c3437511fc1e92da837e6eec7774154b5583 Mon Sep 17 00:00:00 2001 From: theopolisme Date: Sun, 20 Apr 2014 11:08:28 -0500 Subject: [PATCH] Fix toggle target --- src/modules/submissions.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/submissions.js b/src/modules/submissions.js index 6852c1f..91c98f6 100644 --- a/src/modules/submissions.js +++ b/src/modules/submissions.js @@ -906,8 +906,8 @@ .appendTo( $malformedRefWrapper ); } ); - // Now change the "View details" link to behave as a normal toggle for #malformedRefs - AFCH.makeToggle( '.malformed-refs-toggle', '#malformedRefs', 'Show details', 'Hide details' ); + // Now change the "View details" link to behave as a normal toggle for .malformed-refs + AFCH.makeToggle( '.malformed-refs-toggle', '.malformed-refs', 'Show details', 'Hide details' ); return false; } );