Commit 7d142bd0 authored by Juan Corona's avatar Juan Corona

Give injected embed script elements an identifier to match the config element

parent 5126457f
......@@ -20,6 +20,7 @@ function injectHypothesis (iframe, scriptUrl) {
var src = scriptUrl;
var embed = document.createElement('script');
embed.className = 'js-hypothesis-embed';
embed.async = true;
embed.src = src;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment