summaryrefslogtreecommitdiffstats
path: root/assets/js/ed.js
diff options
context:
space:
mode:
authorSerghei Iakovlev <egrep@protonmail.ch>2022-07-24 21:02:04 +0200
committerSerghei Iakovlev <egrep@protonmail.ch>2022-07-24 21:02:04 +0200
commit2096b43f2c4006e28fef713136142d33ecbf27be (patch)
treecae8d8587ea4552906f9762fcead22c319f4b4e2 /assets/js/ed.js
parent7b4decf80310b90e87ca72ddec37e4a35d5d0dad (diff)
downloadgohugo-theme-ed-2096b43f2c4006e28fef713136142d33ecbf27be.tar.gz
Use proper hypothesis path
Diffstat (limited to 'assets/js/ed.js')
-rw-r--r--assets/js/ed.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/assets/js/ed.js b/assets/js/ed.js
index 3a4b776..146ab58 100644
--- a/assets/js/ed.js
+++ b/assets/js/ed.js
@@ -19,7 +19,7 @@ document.addEventListener('DOMContentLoaded', function () {
e.preventDefault();
let script = document.createElement('script');
- script.setAttribute('src', 'https://hypothes.is/embed.js');
+ script.setAttribute('src', 'https://cdn.hypothes.is/hypothesis');
script.type = 'text/javascript';
document.getElementsByTagName('head')[0].appendChild(script);
});