From c683d7de44da59edf9fd101de39989550727797a Mon Sep 17 00:00:00 2001 From: Walter Dal Mut Date: Thu, 8 Oct 2020 18:10:11 +0200 Subject: [PATCH] Use replace instead of replaceAll replace will work on older browsers --- docs/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/index.html b/docs/index.html index e624ac92..be34de5b 100644 --- a/docs/index.html +++ b/docs/index.html @@ -33,7 +33,7 @@ plugins: [ function (hook) { hook.afterEach(function (html, next) { - ghVersion.then((version) => next(html.replaceAll('GITHUB_VERSION', version))) + ghVersion.then((version) => next(html.replace(/GITHUB_VERSION/g, version))) }) } ]