]> git.parisson.com Git - pdf.js.git/commitdiff
Fix bustage while merging
authorVivien Nicolas <21@vingtetun.org>
Sat, 2 Jul 2011 04:01:43 +0000 (06:01 +0200)
committerVivien Nicolas <21@vingtetun.org>
Sat, 2 Jul 2011 04:01:43 +0000 (06:01 +0200)
fonts.js

index d8b36ecdbc1368bad8f2e4a15ae81f0a21fe93a4..31a5e1fac09aa49338591726eb53c05536c74d47 100644 (file)
--- a/fonts.js
+++ b/fonts.js
@@ -1117,6 +1117,8 @@ var Font = (function () {
       var rule = "@font-face { font-family:'" + fontName + "';src:" + url + "}";
       var styleSheet = document.styleSheets[0];
       styleSheet.insertRule(rule, styleSheet.cssRules.length);
+
+      return rule;
     }
   };