IO-106 Jira Submit

This commit is contained in:
Patrick Fic
2021-03-15 15:02:47 -06:00
parent 16889aa20c
commit 7745fa8952
2 changed files with 13 additions and 1 deletions

View File

@@ -22,8 +22,14 @@ const useScript = () => {
script.setAttribute("data-jsd-embedded", true);
script.setAttribute("data-key", "51adb36e-ee16-46b1-a4c6-4b6d5fcd8530");
script.setAttribute("data-base-url", "https://jsd-widget.atlassian.com");
//script.async = true;
script.onload = () => {
var DOMContentLoaded_event = document.createEvent("Event");
DOMContentLoaded_event.initEvent("DOMContentLoaded", true, true);
window.document.dispatchEvent(DOMContentLoaded_event);
};
document.head.appendChild(script);
return () => {
document.head.removeChild(script);
};