diff --git a/static/js/documentDialog.js b/static/js/documentDialog.js index b3c080beb..fc35088c8 100644 --- a/static/js/documentDialog.js +++ b/static/js/documentDialog.js @@ -159,8 +159,8 @@ pandora.ui.documentDialog = function(options) { ? Ox.PDFViewer({ height: dialogHeight, page: settings.page, - url: pandora.getMediaURL('/documents/' + item.id + '/' - + item.name + '.' + item.extension), + url: '/documents/' + item.id + '/' + + item.name + '.' + item.extension, width: dialogWidth, zoom: settings.zoom })