Open JakeHartnell opened 10 years ago
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.$;
https://github.com/hypothesis/h/issues/829#issuecomment-26281709
You can work around this for now with contentWindow.annotator.constructor.$.
contentWindow.annotator.constructor.$
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.$;