Skip to content

Commit 5caef86

Browse files
committed
Merge pull request mozilla#2326 from yurydelendik/issue-2296
Fixes Util is not defined in acroforms example when running in prod mode
2 parents 3c5a9ba + 8c6847e commit 5caef86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/acroforms/forms.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ function setupForm(div, content, viewport) {
2727
}
2828
function createElementWithStyle(tagName, item) {
2929
var element = document.createElement(tagName);
30-
var rect = Util.normalizeRect(
30+
var rect = PDFJS.Util.normalizeRect(
3131
viewport.convertToViewportRectangle(item.rect));
3232
element.style.left = Math.floor(rect[0]) + 'px';
3333
element.style.top = Math.floor(rect[1]) + 'px';

0 commit comments

Comments
 (0)