Skip to content

Commit

Permalink
Edit comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ZoeBijl authored and mcking65 committed May 14, 2020
1 parent c296e64 commit 892ae85
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 892ae85

Please sign in to comment.