Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught TypeError: Cannot read property '$' of undefined epub-reader.js:146 #6

Open
JakeHartnell opened this issue Oct 11, 2013 · 2 comments

Comments

@JakeHartnell
Copy link
Member

On http://book.23rdcenturyromance.com I'm getting Uncaught TypeError: Cannot read property '$' of undefined epub-reader.js:146

It looks like the location of annotator might have changed?

$scope.afterAnnotationsLoaded = function(annotator, annotatations) {
var _$ = $scope.book.render.iframe.contentWindow.Annotator.$;

@fchasen
Copy link
Contributor

fchasen commented Oct 15, 2013

@tilgovi
Copy link
Contributor

tilgovi commented Oct 15, 2013

You can work around this for now with contentWindow.annotator.constructor.$.

fchasen added a commit that referenced this issue Oct 15, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants