Fixed bug where non-footnote notices were being hidden; footnotes given their own div classes

This commit is contained in:
lorilee
2010-07-16 00:09:58 -07:00
parent b63b7552d0
commit 7b46075360
3 changed files with 11 additions and 5 deletions

View File

@@ -217,7 +217,10 @@ function mouseMove(e) {
$(document).ready(function() {
// Hide the footnotes from the footer (which are displayed for
// JavaScript-disabled browsers) since the tooltip is sufficient
$(".notice").hide();
$(".footnotes").hide();
// The border and padding must be removed otherwise a thin yellow box remains visible
$(".footnotes").css("border", "none");
$(".footnotes").css("padding", "0px");
// Replace the superscripts with the help icon
$("sup[class='footnotemarker']").remove();
$("img[class='footnotemarker']").show();