Permalink
Browse files

Fixes Util is not defined in acroforms example when running in prod mode

  • Loading branch information...
1 parent 3c5a9ba commit 8c6847eb27a56838ff98babd3bdf6555e28e2051 @mraible mraible committed with yurydelendik Oct 29, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 examples/acroforms/forms.js
View
2 examples/acroforms/forms.js
@@ -27,7 +27,7 @@ function setupForm(div, content, viewport) {
}
function createElementWithStyle(tagName, item) {
var element = document.createElement(tagName);
- var rect = Util.normalizeRect(
+ var rect = PDFJS.Util.normalizeRect(
viewport.convertToViewportRectangle(item.rect));
element.style.left = Math.floor(rect[0]) + 'px';
element.style.top = Math.floor(rect[1]) + 'px';

0 comments on commit 8c6847e

Please sign in to comment.