From f836982f8485a0da2b42bf2b6ceb6ba9885f90c7 Mon Sep 17 00:00:00 2001 From: farr3ll Date: Fri, 30 Nov 2012 04:52:01 +0200 Subject: [PATCH] Issue #23 --- e107_web/js/core/front.jquery.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/e107_web/js/core/front.jquery.js b/e107_web/js/core/front.jquery.js index 5f1c38f18..54018c1bf 100644 --- a/e107_web/js/core/front.jquery.js +++ b/e107_web/js/core/front.jquery.js @@ -62,11 +62,11 @@ $(document).ready(function() } else if(sort == 'desc') { - $(a.html).prependTo('#comments-container').hide().slideDown(800); // FIXME - works in jquery 1.7, not 1.8 + $('#comments-container').prepend(a.html).hide().slideDown(800); // FIXME - works in jquery 1.7, not 1.8 } else { - $(a.html).appendTo('#comments-container').hide().slideDown(800); // FIXME - works in jquery 1.7, not 1.8 + $('#comments-container').append(a.html).hide().slideDown(800); // FIXME - works in jquery 1.7, not 1.8 alert('Thank you for commenting'); // possibly needed as the submission may go unoticed by the user }