From db63e20cfdf877454031c0860d02731126d9249b Mon Sep 17 00:00:00 2001 From: Wim Brand Date: Fri, 7 Feb 2020 10:25:46 +0100 Subject: [PATCH] fix availability url --- res/include/script/file_viewer/Toolbar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/res/include/script/file_viewer/Toolbar.js b/res/include/script/file_viewer/Toolbar.js index ce0cfc6..c9d00a1 100644 --- a/res/include/script/file_viewer/Toolbar.js +++ b/res/include/script/file_viewer/Toolbar.js @@ -93,7 +93,7 @@ Toolbar.prototype.download = function() { return } - fetch(this.currentFile.file_availability_href).then(resp => { + fetch(this.currentFile.availability_href).then(resp => { return resp.json() }).then(resp => { let popupDiv = document.getElementById("captcha_popup")