Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edx-platform-release
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hsin-Yu Chien
edx-platform-release
Commits
e81cc7d5
Unverified
Commit
e81cc7d5
authored
5 years ago
by
Ahtisham Shahid
Committed by
GitHub
5 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #22920 from edx/ahtisham/PROD-1184
PROD-1184 fixed pdf loading issue in textbook
parents
2968401e
04529972
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lms/templates/pdf_viewer.html
+5
-4
5 additions, 4 deletions
lms/templates/pdf_viewer.html
with
5 additions
and
4 deletions
lms/templates/pdf_viewer.html
+
5
−
4
View file @
e81cc7d5
...
...
@@ -44,12 +44,13 @@ http://sourceforge.net/adobe/cmap/wiki/License/
<script
type=
"text/javascript"
>
PDFJS
.
imageResourcesPath
=
"
${static.url('css/vendor/pdfjs/images/') | n, js_escaped_string}
"
;
PDFJS
.
workerSrc
=
"
${static.url('js/vendor/pdfjs/pdf.worker.js') | n, js_escaped_string}
"
;
PDFJS
.
disableWorker
=
true
;
PDFJS
.
cMapUrl
=
"
${static.url('css/vendor/pdfjs/cmaps/') | n, js_escaped_string}
"
;
PDF_URL
=
'
${current_url | n, js_escaped_string}
'
;
</script>
<script
${
static.url
('
js
/
vendor
/
pdfjs
/
debugger.js
')}
></script>
<
%
static:js
group=
'main_vendor'
/>
<
%
static:js
group=
'application'
/>
<
%
static:js
group=
'courseware'
/>
...
...
@@ -147,7 +148,7 @@ http://sourceforge.net/adobe/cmap/wiki/License/
<button
id=
"toggleHandTool"
class=
"secondaryToolbarButton handTool"
title=
"Enable hand tool"
data-l10n-id=
"hand_tool_enable"
>
<span
data-l10n-id=
"hand_tool_enable_label"
>
Enable hand tool
</span>
</button>
<div
class=
"horizontalToolbarSeparator"
></div>
<button
id=
"documentProperties"
class=
"secondaryToolbarButton documentProperties"
title=
"Document Properties…"
data-l10n-id=
"document_properties"
>
...
...
@@ -202,10 +203,10 @@ http://sourceforge.net/adobe/cmap/wiki/License/
</a>
<div
class=
"verticalToolbarSeparator hiddenSmallView"
></div>
<button
id=
"secondaryToolbarToggle"
class=
"toolbarButton"
title=
"Tools"
data-l10n-id=
"tools"
>
<span
data-l10n-id=
"tools_label"
>
Tools
</span>
</button>
</button>
</div>
<div
class=
"outerCenter"
>
<div
class=
"innerCenter"
id=
"toolbarViewerMiddle"
>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment