Update
This commit is contained in:
		
							parent
							
								
									3641eb6745
								
							
						
					
					
						commit
						30e53326b6
					
				|  | @ -56,7 +56,8 @@ async function fetchData() { | |||
|         Object.entries(obj).forEach(([key, value]) => { | ||||
| 
 | ||||
|             if (key == "id") { | ||||
|                 log.innerHTML = log.innerHTML + `<iframe src="https://${serverAddress}/@Melawy/${value}/embed" class="mastodon-embed" style="max-width: 100%; min-height: 75vh; border: 0" width="60%" height="100%" allowfullscreen="allowfullscreen"></iframe>` + '<br>'; | ||||
|                 // log.innerHTML = log.innerHTML + `<iframe src="https://${serverAddress}/@Melawy/${value}/embed" class="mastodon-embed" style="max-width: 100%; min-height: 75vh; border: 0" width="60%" height="100%" allowfullscreen="allowfullscreen"></iframe>` + '<br>';
 | ||||
|                 log.innerHTML = log.innerHTML + `<iframe src="https://${serverAddress}/@Melawy/${value}/embed" class="mastodon-embed" onload='javascript:(function(o){o.style.height=o.contentWindow.document.body.scrollHeight+"px";}(this));' style="height:200px;width:100%;border:none;overflow:hidden;"allowfullscreen="allowfullscreen"></iframe>` + '<br>'; | ||||
|             } | ||||
| 
 | ||||
|         }); | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue