|
@@ -21,7 +21,11 @@ $(document).ready(function () {
|
|
var $notes = $('<ol id="notes"></ol>').insertBefore('#footer');
|
|
var $notes = $('<ol id="notes"></ol>').insertBefore('#footer');
|
|
$('span.footnote').each (function (index) {
|
|
$('span.footnote').each (function (index) {
|
|
$(this)
|
|
$(this)
|
|
- .before('<sup>' + (index + 1) + '</sup>')
|
|
|
|
|
|
+ .before([
|
|
|
|
+ '<sup>',
|
|
|
|
+ index + 1,
|
|
|
|
+ '</sup>'
|
|
|
|
+ ].join(''))
|
|
.appendTo($notes)
|
|
.appendTo($notes)
|
|
.wrap('<li></li>');
|
|
.wrap('<li></li>');
|
|
});
|
|
});
|