diff --git a/webroot/js/components/external-action-modal.js b/webroot/js/components/external-action-modal.js index 89267db34..fca1b8dd3 100644 --- a/webroot/js/components/external-action-modal.js +++ b/webroot/js/components/external-action-modal.js @@ -1,8 +1,15 @@ import { h } from '/js/web_modules/preact.js'; import htm from '/js/web_modules/htm.js'; + const html = htm.bind(h); export default function ExternalActionModal({ url, title, onClose }) { + const loading = 'background:url(/img/loading.gif) center center no-repeat;' + + function loaded() { + document.querySelector("#external-modal-iframe").style = ''; + } + return html`
-