Skip to content

Commit

Permalink
[docs] Fixed regex replace for examples name
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsLando committed Sep 11, 2019
1 parent 9de25b6 commit abc1d40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
var loaded = [false, false, false, false];

function fileName(string) {
string = string.replace(/-/, ' ')
string = string.replace(/-/g, ' ')
string = string.substring(0, string.indexOf('.htm'))
return string.charAt(0).toUpperCase() + string.slice(1);
}
Expand Down

0 comments on commit abc1d40

Please sign in to comment.