Skip to content

Commit

Permalink
Edit comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ZoeBijl committed Mar 4, 2020
1 parent 6d2a9c9 commit 1105fa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 1105fa7

Please sign in to comment.