nlplab/brat — Issue #2: Creating Annotation Bug in FireFox
Author: antonyscerri
Created: 2012-03-02 11:19:40+00:00
State: open

When working in Firefox 3.x I experienced the following problem. Inside client/src/visualizer.js there is a call made to animate nodes using this.beginElement which in FF causes a javascript error and stops everything else from then running. The simple fix was to wrap this in an if as in the following lines:

if(this.beginElement) {
this.beginElement();
}

As far as I can see that had no adverse effects and I believe it is correctly highlighting the annotation in question as FF automatically starts the animation.