Skip to content

Commit

Permalink
Merge pull request #34 from barefootdeveloper/master
Browse files Browse the repository at this point in the history
Allow PDF Viewer to be included on page without a URL at load time
  • Loading branch information
winkerVSbecks committed Jul 14, 2015
2 parents c30ccb7 + 327bd6a commit 9f19f31
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/angular-pdf-viewer.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/js/pdf-ctrl.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,5 +142,5 @@ angular.module('pdf')
}, $log.error);
};

self.load();
if(url) self.load();
}]);

0 comments on commit 9f19f31

Please sign in to comment.