[Pkg-javascript-commits] [pdf.js] 106/174: Update viewer.html for Internet Explorer Compatibility

David Prévot taffit at moszumanska.debian.org
Thu Nov 19 18:45:24 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository pdf.js.

commit 59104a286386557dc05760decf4dfce071413c98
Author: WilliamRClark <cwilliamwork at yahoo.com>
Date:   Tue Jul 21 07:40:07 2015 -0400

    Update viewer.html for Internet Explorer Compatibility
    
    If your Internet Explorer 11 default compatibility settings are set to "I.E 7 Compatibility", the PDF plugin will not load.  This fix is the same one used by AngularJS to force the browser to use HTML5 mode.
---
 web/viewer.html | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/web/viewer.html b/web/viewer.html
index e807f33..3aeb334 100644
--- a/web/viewer.html
+++ b/web/viewer.html
@@ -27,6 +27,9 @@ See https://github.com/adobe-type-tools/cmap-resources
 <!--#if GENERIC || CHROME-->
     <meta name="google" content="notranslate">
 <!--#endif-->
+<!--#if GENERIC-->
+    <meta http-equiv="X-UA-Compatible" content="IE=edge">
+<!--#endif-->
     <title>PDF.js viewer</title>
 
 <!--#if FIREFOX || MOZCENTRAL-->

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/pdf.js.git



More information about the Pkg-javascript-commits mailing list