fix relative path to pdf worker
authorSeth Woodworth <seth@sethish.com>
Thu, 13 Jun 2013 19:00:17 +0000 (15:00 -0400)
committerSeth Woodworth <seth@sethish.com>
Thu, 13 Jun 2013 19:00:17 +0000 (15:00 -0400)
karmaworld/assets/vendor/js/viewer.js

index ff678d409643292b0d0711b491e78a3a6b8042c2..bcdd97d0cc25a439da281da3739b3c4ce38a7606 100644 (file)
@@ -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;