Skip to content

Commit

Permalink
Folding Icon selection fix #1764 (#1779)
Browse files Browse the repository at this point in the history
fixes #1764
  • Loading branch information
shaehn authored and Vladimir Kotal committed Sep 20, 2017
1 parent a2fd8ff commit 00ae0f2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/org/opensolaris/opengrok/analysis/JFlexXref.java
Expand Up @@ -520,8 +520,7 @@ protected void startNewLine() throws IOException {

if (foldingEnabled && scopesEnabled) {
if (iconId != null) {
// Fix for #1764 remove line below and add this -> out.write("<a style='cursor:pointer;' onclick='fold(this.parentNode.id)' id='");
out.write("<a href='#' onclick='fold(this.parentNode.id)' id='");
out.write("<a style='cursor:pointer;' onclick='fold(this.parentNode.id)' id='");
out.write(iconId);
/* space inside span for IE support */
out.write("'><span class='fold-icon'>&nbsp;</span></a>");
Expand Down

0 comments on commit 00ae0f2

Please sign in to comment.