Commit 04cd6e2b by murtaugh

don't show extern iframe when src is null

parent d0cc2da2
......@@ -192,8 +192,11 @@ function show_external (href) {
xu.innerHTML = href;
}
function extern_iframe_loaded () {
document.getElementById("externalframe").classList.add("visible");
source_external.checked = true;
var ef = document.getElementById("externalframe");
if (ef.src) {
document.getElementById("externalframe").classList.add("visible");
source_external.checked = true;
}
}
function external_back (href) {
document.getElementById("externalframe").contentWindow.back();
......
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