[Pkg-javascript-commits] [pdf.js] 36/139: Fix regression that prevents downloading of font files in the debugger

David Prévot taffit at moszumanska.debian.org
Fri Jan 9 21:18: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 4ed3074011dd65f02583bd676598fd3db094c9ac
Author: Jonas Jenwald <jonas.jenwald at gmail.com>
Date:   Tue Oct 28 19:56:55 2014 +0100

    Fix regression that prevents downloading of font files in the debugger
    
    This is a regression from PR 5366.
---
 web/debugger.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/web/debugger.js b/web/debugger.js
index a9d173b..046fd34 100644
--- a/web/debugger.js
+++ b/web/debugger.js
@@ -124,8 +124,8 @@ var FontInspector = (function FontInspectorClosure() {
         url = URL.createObjectURL(new Blob([fontObj.data], {
           type: fontObj.mimeType
         }));
+        download.href = url;
       }
-      download.href = url;
       download.textContent = 'Download';
       var logIt = document.createElement('a');
       logIt.href = '';

-- 
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