From f1351788ee5d3be634462fea24e6057f9c74e428 Mon Sep 17 00:00:00 2001 From: pacien Date: Mon, 23 Oct 2023 22:42:46 +0200 Subject: viewer: fix loading from URL (for demo file) --- beamer/viewer/init.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'beamer/viewer/init.js') diff --git a/beamer/viewer/init.js b/beamer/viewer/init.js index 18269cd..6190386 100644 --- a/beamer/viewer/init.js +++ b/beamer/viewer/init.js @@ -45,7 +45,7 @@ function init() { const viewer = new Viewer(); if ("file" in params) - viewer.load(params["file"]); + viewer.loadFromUrl(params["file"]); } function load(file) { -- cgit v1.2.3