# HG changeset patch # User dukebody # Date 1256588133 -3600 # Node ID b25f69ea9d4cd829b752066d14c9905073396b94 # Parent c5a5ba58858ee100de5f0860d4101981d3b459b5 Place equations' comments just after the equations, in the same table. diff -r c5a5ba58858e -r b25f69ea9d4c web/support/javascript/hsbook.js --- a/web/support/javascript/hsbook.js Mon Oct 26 20:29:09 2009 +0100 +++ b/web/support/javascript/hsbook.js Mon Oct 26 21:15:33 2009 +0100 @@ -66,7 +66,8 @@ $(this).append(loading($(this).attr("id"))); }); $("table[@id].equation").each(function() { - $(this).after(loading($(this).attr("id"))); + id = $(this).attr("id"); + $("#" + id + " tr").after('' + loading($(this).attr("id")) + ''); }); $("pre[@id]").each(function() { $(this).after(loading($(this).attr("id")));