fanktom/angular-coverflow

Problem with element find

Closed this issue · 2 comments

I tried using the directive but it's not working. The issue is with cover.prototype.updateCover()
I traced it to this.flow.element.find in Cover.prototype.init.
it's not returning any element so I am getting this error
TypeError: Cannot read property 'style' of undefined
at Cover.updateCover (http://localhost:8100/lib/coverflow.js:90:18)
at Cover.init (http://localhost:8100/lib/coverflow.js:76:8)
at Coverflow.init (http://localhost:8100/lib/coverflow.js:188:91)
at Object. (http://localhost:8100/lib/coverflow.js:24:12)

Did you include the full jQuery as e.g. in the examples http://southdesign.github.io/angular-coverflow/examples/images.htm ?

It might be, that the find support of jQuery light is not enough.

Ok it works now, thanks!