hgbook
changeset 908:b25f69ea9d4c
Place equations' comments just after the equations, in the same table.
author | dukebody <dukebody@gmail.com> |
---|---|
date | Mon Oct 26 21:15:33 2009 +0100 (2009-10-26) |
parents | c5a5ba58858e |
children | 0b3de6304f0a |
files | web/support/javascript/hsbook.js |
line diff
1.1 --- a/web/support/javascript/hsbook.js Mon Oct 26 20:29:09 2009 +0100 1.2 +++ b/web/support/javascript/hsbook.js Mon Oct 26 21:15:33 2009 +0100 1.3 @@ -66,7 +66,8 @@ 1.4 $(this).append(loading($(this).attr("id"))); 1.5 }); 1.6 $("table[@id].equation").each(function() { 1.7 - $(this).after(loading($(this).attr("id"))); 1.8 + id = $(this).attr("id"); 1.9 + $("#" + id + " tr").after('<tr><td colspan="4">' + loading($(this).attr("id")) + '</td></tr>'); 1.10 }); 1.11 $("pre[@id]").each(function() { 1.12 $(this).after(loading($(this).attr("id")));