F diff --git a/loggedin.js b/loggedin.js --- a/loggedin.js +++ b/loggedin.js// Start dragging the 'obj' DOM element// e is a DOM event, this should only get called in response of a DOM eventfunction begin_drag(e, obj, dont_set_width) {+ set_iframe_enabled(false);dragging = obj;dragging_candidate = null;dragging.classList.add("dragged");}function end_drag(_e) {+ set_iframe_enabled(true);+// If there's a dragging palceholder remove it and put the dragged node back into its placeif (dragging_placeholder) {dragging_placeholder.parentNode.insertBefore(dragging, dragging_placeholder);the_file.onchange = (e) => { on_file_added(e); };+ function set_iframe_enabled(en) {+ for (const iframe of document.getElementsByTagName('iframe'))+ iframe.hidden = !en;+ }+main();