mirror of
https://github.com/kennethreitz/dive-into-python3.git
synced 2026-06-05 23:10:17 +00:00
added u class to spans that need Arial Unicode
This commit is contained in:
@@ -186,7 +186,7 @@ function plainTextOnClick(id) {
|
||||
}
|
||||
|
||||
function hideTOC() {
|
||||
var toc = '<span class=nm>‣</span> <a href="javascript:showTOC()">show table of contents</a>';
|
||||
var toc = '<span class="nm u">‣</span> <a href="javascript:showTOC()">show table of contents</a>';
|
||||
$("#toc").html(toc);
|
||||
}
|
||||
|
||||
@@ -207,6 +207,6 @@ function showTOC() {
|
||||
toc += '</ol>';
|
||||
level -= 1;
|
||||
}
|
||||
toc = '<span class=nm>▾</span> <a href="javascript:hideTOC()">hide table of contents</a><ol start=0><li><a href=table-of-contents.html><span>↑</span> Full table of contents</a></li>' + toc.substring(4);
|
||||
toc = '<span class="nm u">▾</span> <a href="javascript:hideTOC()">hide table of contents</a><ol start=0><li><a href=table-of-contents.html><span class=u>↑</span> Full table of contents</a></li>' + toc.substring(4);
|
||||
$("#toc").html(toc);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user