Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
tools: remove unneeded parentheses in doc/html.js
  • Loading branch information
vsemozhetbyt committed Nov 6, 2017
commit 96b786a059e1edd9a155617c20c2ca3ff6df3c0d
2 changes: 1 addition & 1 deletion tools/doc/html.js
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ function getId(text) {
text = text.replace(/^_+|_+$/, '');
text = text.replace(/^([^a-z])/, '_$1');
if (idCounters.hasOwnProperty(text)) {
text += `_${(++idCounters[text])}`;
text += `_${++idCounters[text]}`;
} else {
idCounters[text] = 0;
}
Expand Down