From abc1d4051286230fa81786e3d740121943d765e3 Mon Sep 17 00:00:00 2001 From: Daniel Lando Date: Wed, 11 Sep 2019 17:40:44 +0200 Subject: [PATCH] [docs] Fixed regex replace for examples name --- docs/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/index.html b/docs/index.html index 34dca3f..5401361 100644 --- a/docs/index.html +++ b/docs/index.html @@ -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); }