From 1105fa76ee91fe915ca5ca27f2d8bb6333c8a55f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zo=C3=AB=20Bijl?= <5457769+ZoeBijl@users.noreply.github.com> Date: Wed, 4 Mar 2020 01:08:36 +0100 Subject: [PATCH] Edit comment --- examples/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/js/app.js b/examples/js/app.js index 35fb7c458d..5c9c78eec8 100644 --- a/examples/js/app.js +++ b/examples/js/app.js @@ -8,7 +8,7 @@ function addSupportNotice() { // Expected outcome '../js/app.js' OR '../../js/app.js' var scriptSource = document.querySelector('[src$="app.js"]').getAttribute('src') - // Cut off the 'app.js' part so we know where to grab our template + // Split off the 'app.js' part so we know where to fetch our template var jsPath = scriptSource.split('app.js')[0] // Append the template filename to the path var fetchSource = jsPath + 'notice.html'