Skip to content

Commit

Permalink
Fix the display of included modules for Ruby docsets
Browse files Browse the repository at this point in the history
  • Loading branch information
Kapeli committed Dec 26, 2016
1 parent fd29768 commit 4416ccb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dash/DHAppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ - (void)checkCommitHashes
@"DHQueuedDB": @"0199255",
@"DHUnifiedQueuedDB": @"dd42266",
@"DHDBUnifiedOperation": @"1671a90",
@"DHWebViewController": @"620be6d",
@"DHWebViewController": @"b98e7c3",
@"DHWebPreferences": @"f3017eb",
@"DHDocsetDownloader": @"53f55ce",
@"PlatformIcons": @"f9b9083",
Expand Down
4 changes: 2 additions & 2 deletions Dash/ruby.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ if(documentation)
{
if(addedMultipleNamespaces)
{
namespaceHTML = " Namespaces: <a href='#' onclick='this.outerHTML = \""+replaceAll(replaceAll(namespaceHTML, "'", "\""), '"', '\\"')+"\"'>Show</a>.";
namespaceHTML = " Namespaces: <a href='#' onclick='this.outerHTML = \""+replaceAll(replaceAll(namespaceHTML, "'", "\""), '"', '\\"')+"\"; return false;'>Show</a>.";
}
else
{
Expand Down Expand Up @@ -115,7 +115,7 @@ if(documentation)
{
if(addedMultipleIncludes)
{
includedHTML = "Included Modules: <a href='#' onclick='this.outerHTML = \""+replaceAll(replaceAll(namespaceHTML, "'", "\""), '"', '\\"')+"\"'>Show</a>.";
includedHTML = "Included Modules: <a href='#' onclick='this.outerHTML = \""+replaceAll(replaceAll(includedHTML, "'", "\""), '"', '\\"')+"\"; return false;'>Show</a>.";
}
else
{
Expand Down

0 comments on commit 4416ccb

Please sign in to comment.