From 7ac2419041e0bbc098c764dd49e2e69fbe905935 Mon Sep 17 00:00:00 2001 From: Seth Woodworth Date: Thu, 13 Jun 2013 15:00:17 -0400 Subject: [PATCH] fix relative path to pdf worker --- karmaworld/assets/vendor/js/viewer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/karmaworld/assets/vendor/js/viewer.js b/karmaworld/assets/vendor/js/viewer.js index ff678d4..bcdd97d 100644 --- a/karmaworld/assets/vendor/js/viewer.js +++ b/karmaworld/assets/vendor/js/viewer.js @@ -43,7 +43,7 @@ var FindStates = { FIND_PENDING: 3 }; - PDFJS.workerSrc = '/static/vendor/js/pdf.js'; +PDFJS.workerSrc = '../static/vendor/js/pdf.js'; var mozL10n = document.mozL10n || document.webL10n; -- 2.25.1