Merge pull request #6985 from timvandermeij/xhtml-leftovers

Remove XHTML leftovers from the viewer HTML files
This commit is contained in:
Jonas Jenwald 2016-02-14 15:32:45 +01:00
commit 45fea8808e
4 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
<!-- This snippet is used in the Firefox extension (included from viewer.html) -->
<base href="resource://pdf.js/web/" />
<base href="resource://pdf.js/web/">
<script src="l10n.js"></script>
<script src="../build/pdf.js"></script>

View File

@ -1,3 +1,3 @@
<!-- This snippet is used in production (included from viewer.html) -->
<link rel="resource" type="application/l10n" href="locale/locale.properties"/>
<link rel="resource" type="application/l10n" href="locale/locale.properties">
<script src="pdf.viewer.js"></script>

View File

@ -1,4 +1,4 @@
<!-- This snippet is used in production (included from viewer.html) -->
<link rel="resource" type="application/l10n" href="locale/locale.properties"/>
<link rel="resource" type="application/l10n" href="locale/locale.properties">
<script src="l10n.js"></script>
<script src="../build/pdf.js"></script>

View File

@ -39,9 +39,9 @@ See https://github.com/adobe-type-tools/cmap-resources
<!--#include viewer-snippet-chrome-extension.html-->
<!--#endif-->
<link rel="stylesheet" href="viewer.css"/>
<link rel="stylesheet" href="viewer.css">
<!--#if !PRODUCTION-->
<link rel="resource" type="application/l10n" href="locale/locale.properties"/>
<link rel="resource" type="application/l10n" href="locale/locale.properties">
<!--#endif-->
<!--#if !(MOZCENTRAL || CHROME || MINIFIED)-->
@ -332,7 +332,7 @@ See https://github.com/adobe-type-tools/cmap-resources
</div>
<div class="row">
<!-- The type="password" attribute is set via script, to prevent warnings in Firefox for all http:// documents. -->
<input id="password" class="toolbarField" />
<input id="password" class="toolbarField">
</div>
<div class="buttonRow">
<button id="passwordCancel" class="overlayButton"><span data-l10n-id="password_cancel">Cancel</span></button>