Fix for duplicated editor control buttons by rlskoeser · Pull Request #533 · openannotation/annotator

I'm working on integrating meltdown with annotator and found a weird error where the control buttons would get duplicated on reloads after the meltdown editor was initialized. Screenshot of the duplicated controls attached since it's a bit difficult to describe (and the error was actually compounded and became much worse on subsequent loads).

annotator-duplicated-controls

I've made an adjustment so that annotator controls are only added after the first ul, not every ul element inside the annotation editor widget, and it resolves the problem.