Change iframe.src to Loading... in the topbar.

This commit is contained in:
wearrrrr 2024-03-28 10:33:14 -05:00
parent 551034179a
commit 7b808bb821

View file

@ -216,7 +216,7 @@
function updateTopbarTitle(iframe) {
let topbarTitle = document.getElementById("url-text");
if (iframe.contentDocument.title == "") {
topbarTitle.innerText = iframe.src;
topbarTitle.innerText = "Loading...";
} else {
if (iframe.contentDocument.title.length > 65) {
topbarTitle.innerText = iframe.contentDocument.title.slice(0, 65) + "...";