Fix web UI loading on mobile devices

This commit is contained in:
Mike Gelfand
2017-05-21 06:49:41 +03:00
parent 82722476aa
commit bcfe147e6a

View File

@@ -34,7 +34,7 @@ function main() {
// so the footer appears in the right place
document.getElementById("torrent_container").style["min-height"] = "338px";
};
document.querySelector("label[for=torrent_upload_url]").textContent("URL: ");
document.querySelector("label[for=torrent_upload_url]").textContent = "URL: ";
} else {
// Fix for non-Safari-3 browsers: dark borders to replace shadows.
Array.from(document.getElementsByClassName("dialog_window")).forEach(function (e) {