diff --git a/main.js b/main.js index f3454fd..f7fe937 100644 --- a/main.js +++ b/main.js @@ -243,6 +243,11 @@ function loadFile(file) { function loadUrl(url) { const fileExtension = url.split('.').pop().toLowerCase(); player.load(url, fileExtension); + + showImageCanvas(); + enableZoomContainer(); + enableProgressContainer(); + showPage("progress"); } function createFilesListTab() { @@ -517,4 +522,5 @@ function refreshZoomValue() { var value = document.getElementById("zoom-value"); value.innerHTML = player.offsetWidth + " x " + player.offsetHeight; value.classList.remove("incorrect"); -} \ No newline at end of file +} +