Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorNatalia Tepluhina <tarya.se@gmail.com>2019-03-20 15:12:42 +0300
committerNatalia Tepluhina <tarya.se@gmail.com>2019-03-20 15:13:35 +0300
commit6582c65320b1db62dfa6ebe61b884fbf8a14059f (patch)
tree504e95d3b67d559a830fda3d6ec63ab657b9e04a /app
parent9d826aed9ff336a55f770c328dcf042e67823b48 (diff)
Updated PDF.js to 2.0.943
fix: changed PDFJS prop to GlobalWorkerOptions Fixed pdf tests Added changelog entry
Diffstat (limited to 'app')
-rw-r--r--app/assets/javascripts/pdf/index.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/pdf/index.vue b/app/assets/javascripts/pdf/index.vue
index cdf1257b4e3..dc5f9ba9607 100644
--- a/app/assets/javascripts/pdf/index.vue
+++ b/app/assets/javascripts/pdf/index.vue
@@ -28,7 +28,7 @@ export default {
},
watch: { pdf: 'load' },
mounted() {
- pdfjsLib.PDFJS.workerSrc = workerSrc;
+ pdfjsLib.GlobalWorkerOptions.workerSrc = workerSrc;
if (this.hasPDF) this.load();
},
methods: {