more troubleshooting

This commit is contained in:
Mark Pilgrim
2010-07-28 10:52:57 -04:00
parent 241b66f884
commit d8b2e4a67f
4 changed files with 53 additions and 12 deletions
+1 -1
View File
@@ -143,7 +143,7 @@ $(document).ready(function() {
$(this).wrapInner('<div class=b></div>');
var widgetHTML = '<div class=w>[<a class=toggle href="javascript:toggleCodeBlock(\'' + this.id + '\')">' + HS.visible + '</a>] [<a href="javascript:plainTextOnClick(\'' + this.id + '\')">open in new window</a>]';
if ($(this).hasClass('cmdline')) {
widgetHTML += ' [<a href="troubleshooting.html#running-python-on-the-command-line">command line help</a>]';
widgetHTML += ' [<a href="troubleshooting.html#getting-to-the-command-line">command line help</a>]';
}
widgetHTML += '</div>';
$(this).prepend(widgetHTML);