Skip to content

Commit

Permalink
Merge pull request #5 from pjayme/feature/new-js-update
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewandante authored Apr 30, 2020
2 parents b251e2c + afe91dc commit 7b1acfa
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions code/ControllerExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ public function getWomensRefugeShieldButton()
protected function requireCoreJS()
{
if (Config::inst()->get(self::class, 'use_remote_js')) {
Requirements::javascript('https://d3f5l8ze0o4j2m.cloudfront.net/m87/k33spt.js');
Requirements::javascript('https://staticcdn.co.nz/embed/embed.js');
} else {
Requirements::javascript('andrewandante/womens-refuge-shield: javascript/k33spt.min.js');
Requirements::javascript('andrewandante/womens-refuge-shield: javascript/embed.js');
}
}
}
2 changes: 2 additions & 0 deletions javascript/embed.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion javascript/k33spt.min.js

This file was deleted.

0 comments on commit 7b1acfa

Please sign in to comment.