mirror of
https://github.com/tcsenpai/Zundler.git
synced 2025-06-06 11:35:40 +00:00
Create the iframe without display='none'
This is important for JavaScript programs like mermaid, which initialize an svg based on the actual size of the parent div. See #5
This commit is contained in:
parent
3fa8f86019
commit
6aaa3841d2
@ -27,7 +27,7 @@ var createIframe = function() {
|
||||
iframe.setAttribute('src', '#');
|
||||
iframe.setAttribute('name', iFrameId);
|
||||
iframe.setAttribute('id', iFrameId);
|
||||
iframe.style.display = 'none';
|
||||
// iframe.style.display = 'none';
|
||||
return iframe;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user