ruven/iipmooviewer

Annotations don't work : "ReferenceError: iipmooviewer is not defined"

regisrob opened this issue · 2 comments

There is a bug in "annotations.js" (createAnnotationsArray(), l.58) :

I replaced :

Object.each(iipmooviewer.annotations, function(annotation, id)

by

Object.each(annotations, function(annotation, id)

and it worked for me...

This works without error in my version of Firefox. What browser was this on? In any case it should rather be this.annotations not iipmooviewer.annotations. Now fixed.

Thx! Weird it was in Firefox too (v 24.0)