fix error
This commit is contained in:
parent
0d5c4174ca
commit
5a8859e6f1
|
@ -4710,7 +4710,7 @@ var defaultOptions = {
|
|||
kind: OptionKind.VIEWER
|
||||
};
|
||||
defaultOptions.printResolution = {
|
||||
value: 150,
|
||||
value: 600,
|
||||
kind: OptionKind.VIEWER
|
||||
};
|
||||
}
|
||||
|
|
|
@ -28,13 +28,11 @@ See https://github.com/adobe-type-tools/cmap-resources
|
|||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<title>PDF.js viewer</title>
|
||||
|
||||
|
||||
<link rel="stylesheet" href="/assets/archive/pdf/viewer.css">
|
||||
|
||||
<%= stylesheet_link_tag "archive/download_file.css" %>
|
||||
|
||||
<!-- This snippet is used in production (included from viewer.html) -->
|
||||
<link rel="resource" type="application/l10n" href="/assets/archive/locale/locale.properties">
|
||||
<script src="/assets/archive/pdf/pdf.js"></script>
|
||||
<%= javascript_include_tag "archive/pdf/pdf.js" %>
|
||||
</head>
|
||||
|
||||
<body tabindex="1" class="loadingInProgress" data-url="<%=@url%>">
|
||||
|
@ -388,6 +386,6 @@ See https://github.com/adobe-type-tools/cmap-resources
|
|||
|
||||
</div> <!-- outerContainer -->
|
||||
<div id="printContainer"></div>
|
||||
<script type="text/javascript" src="/assets/archive/pdf/viewer.js"></script>
|
||||
<%= javascript_include_tag "archive/pdf/viewer.js" %>
|
||||
</body>
|
||||
</html>
|
|
@ -5,7 +5,7 @@
|
|||
<head>
|
||||
<meta name="viewport" content="width=device-width, minimum-scale=0.1">
|
||||
<title><%=@filename%></title>
|
||||
<link href="/assets/archive/download_file.css" rel="stylesheet" media="all">
|
||||
<%= stylesheet_link_tag "archive/download_file.css" %>
|
||||
</head>
|
||||
<body>
|
||||
<h1 style="display: none;"><%=@filename%></h1>
|
||||
|
|
Loading…
Reference in New Issue