Skip to content

Commit b9ab154

Browse files
committed
build: add minified and example code
1 parent a59f9ef commit b9ab154

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/js/directives/angular-pdf.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@
190190
if (newVal !== '') {
191191
console.log('pdfUrl value change detected: ', scope.pdfUrl);
192192
url = newVal;
193-
scope.pageToDisplay = pageToDisplay;
193+
scope.pageNum = scope.pageToDisplay = pageToDisplay;
194194
if (pdfLoaderTask) {
195195
pdfLoaderTask.destroy().then(function () {
196196
renderPDF();

0 commit comments

Comments
 (0)