diff --git a/src/utils/string/Format.js b/src/utils/string/Format.js index 8572f6c1a..38bf94ad1 100644 --- a/src/utils/string/Format.js +++ b/src/utils/string/Format.js @@ -20,7 +20,7 @@ */ var Format = function (string, values) { - string.replace(/%([0-9]+)/g, function (s, n) + string = string.replace(/%([0-9]+)/g, function (s, n) { return values[Number(n) - 1]; });